diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-06-15 18:19:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-06-15 18:19:42 +0000 |
commit | e8331f9d7d051c301069b645e6dbe7eb4897fa88 (patch) | |
tree | a5742d458570694d89e5880708f428ec45f1a1bb /contrib/osx/Tor | |
parent | 5782ffd79aa104026dfe098d4819a8fa8414fac3 (diff) | |
download | tor-e8331f9d7d051c301069b645e6dbe7eb4897fa88.tar.gz tor-e8331f9d7d051c301069b645e6dbe7eb4897fa88.zip |
Make OSX init script check for missing argument in a way that works
svn:r4433
Diffstat (limited to 'contrib/osx/Tor')
-rwxr-xr-x | contrib/osx/Tor | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/osx/Tor b/contrib/osx/Tor index 2162617f30..88c2973503 100755 --- a/contrib/osx/Tor +++ b/contrib/osx/Tor @@ -56,7 +56,7 @@ StopService () RestartService () { StopService; StartService; } -if [ "x$1" = x ]; then +if [ "$#" = 0 ]; then echo "Syntax: tor {start|stop}" exit 1 fi |