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

[tor-commits] [torsocks/master] Fix: quote torsocks script shell arguments



commit 50a6aba54f60bb91e91270d91b38984eac19f649
Author: David Goulet <dgoulet@xxxxxxxxx>
Date:   Mon Dec 9 17:07:18 2013 -0500

    Fix: quote torsocks script shell arguments
    
    Reported-by: Jérémy Bobbio <lunar@xxxxxxxxxx>
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
 src/bin/torsocks.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/torsocks.in b/src/bin/torsocks.in
index aebd2d4..9abc5e8 100644
--- a/src/bin/torsocks.in
+++ b/src/bin/torsocks.in
@@ -172,6 +172,6 @@ case "$1" in
 		echo "Torsocks @VERSION@"
 		;;
 	*)
-		torify_app $@
+		torify_app "$@"
 		;;
 esac



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