mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix shellcheck warning SC2145 in torify script
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
o Code simplification and refactoring (shell scripts):
|
||||
- Fix shellcheck warning in torify script. Resolves issue 29070.
|
||||
@@ -53,7 +53,7 @@ pathfind() {
|
||||
|
||||
if pathfind torsocks; then
|
||||
exec torsocks "$@"
|
||||
echo "$0: Failed to exec torsocks $@" >&2
|
||||
echo "$0: Failed to exec torsocks $*" >&2
|
||||
exit 1
|
||||
else
|
||||
echo "$0: torsocks not found in your PATH. Perhaps it isn't installed? (tsocks is no longer supported, for security reasons.)" >&2
|
||||
|
||||
Reference in New Issue
Block a user