]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix shellcheck warning SC2145 in torify script
authorrl1987 <rl1987@sdf.lonestar.org>
Sat, 19 Jan 2019 15:39:48 +0000 (17:39 +0200)
committerrl1987 <rl1987@sdf.lonestar.org>
Sat, 19 Jan 2019 15:39:48 +0000 (17:39 +0200)
changes/ticket29070 [new file with mode: 0644]
contrib/client-tools/torify

diff --git a/changes/ticket29070 b/changes/ticket29070
new file mode 100644 (file)
index 0000000..2716915
--- /dev/null
@@ -0,0 +1,2 @@
+  o Code simplification and refactoring (shell scripts):
+    - Fix shellcheck warning in torify script. Resolves issue 29070.
index 54acfed65494e79fff589c08203222070325c175..ac4c9b5c7f4320514ded45e8a7ff87e8b2aeda5e 100755 (executable)
@@ -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