Browse Source

Fix shellcheck warning SC2145 in torify script

rl1987 5 years ago
parent
commit
2529b29a75
2 changed files with 3 additions and 1 deletions
  1. 2 0
      changes/ticket29070
  2. 1 1
      contrib/client-tools/torify

+ 2 - 0
changes/ticket29070

@@ -0,0 +1,2 @@
+  o Code simplification and refactoring (shell scripts):
+    - Fix shellcheck warning in torify script. Resolves issue 29070.

+ 1 - 1
contrib/client-tools/torify

@@ -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