summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2019-01-19 17:39:48 +0200
committerrl1987 <rl1987@sdf.lonestar.org>2019-01-19 17:39:48 +0200
commit2529b29a75e24dcc1a6c92ef8f19a5916028a63f (patch)
tree32c326a71b60516b7b5c2d630ddfd21db167b6e4
parentd1af4d65df8b5ef8049707029335049db147829f (diff)
downloadtor-2529b29a75e24dcc1a6c92ef8f19a5916028a63f.tar.gz
tor-2529b29a75e24dcc1a6c92ef8f19a5916028a63f.zip
Fix shellcheck warning SC2145 in torify script
-rw-r--r--changes/ticket290702
-rwxr-xr-xcontrib/client-tools/torify2
2 files changed, 3 insertions, 1 deletions
diff --git a/changes/ticket29070 b/changes/ticket29070
new file mode 100644
index 0000000000..2716915359
--- /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 54acfed654..ac4c9b5c7f 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