[Pkg-privacy-commits] [torsocks] 09/17: Quote the non-zero length check of $getcap.

Intrigeri intrigeri at moszumanska.debian.org
Wed Oct 19 20:59:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch bugfix/typo-subsytem
in repository torsocks.

commit 173107baf54b71743570140026bf25073ef722fd
Author: Alexander Færøy <ahf at 0x90.dk>
Date:   Sun Oct 16 20:48:00 2016 +0200

    Quote the non-zero length check of $getcap.
---
 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 b030ad2..7288337 100644
--- a/src/bin/torsocks.in
+++ b/src/bin/torsocks.in
@@ -108,7 +108,7 @@ torify_app ()
 
 	# This must be before torifying because getcap uses cap_get_file(3)
 	# via syscall(2) which breaks torsocks.
-	if [ -n $getcap ]; then
+	if [ -n "$getcap" ]; then
 		caps=`$getcap $app_path`
 	fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torsocks.git



More information about the Pkg-privacy-commits mailing list