[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix shellcheck warning SC2145 in torify script



commit 2529b29a75e24dcc1a6c92ef8f19a5916028a63f
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Sat Jan 19 17:39:48 2019 +0200

    Fix shellcheck warning SC2145 in torify script
---
 changes/ticket29070         | 2 ++
 contrib/client-tools/torify | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits