[tor-commits] [torsocks/master] Fix invocation without arguments.

ioerror at torproject.org ioerror at torproject.org
Sun Jan 27 21:37:48 UTC 2013


commit f955a496040217c38a777a4589b9433c2365f0fd
Author: intrigeri <intrigeri at boum.org>
Date:   Sat Aug 11 14:19:59 2012 +0200

    Fix invocation without arguments.
    
    Bugs-Debian: http://bugs.debian.org/684577
---
 src/torsocks.in |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/torsocks.in b/src/torsocks.in
index 53db2fc..a3137fb 100755
--- a/src/torsocks.in
+++ b/src/torsocks.in
@@ -68,11 +68,6 @@ set_id () {
     exit 1
 }
 
-if [ $# = 0 ] ; then
-   echo "$0: insufficient arguments"
-   exit
-fi
-
 LIBDIR="@prefix@/lib/torsocks"
 LIB_NAME="libtorsocks"
 SHLIB_EXT="@SHLIB_EXT@"





More information about the tor-commits mailing list