summaryrefslogtreecommitdiff
path: root/contrib/osx/Tor
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-06-15 18:19:42 +0000
committerNick Mathewson <nickm@torproject.org>2005-06-15 18:19:42 +0000
commite8331f9d7d051c301069b645e6dbe7eb4897fa88 (patch)
treea5742d458570694d89e5880708f428ec45f1a1bb /contrib/osx/Tor
parent5782ffd79aa104026dfe098d4819a8fa8414fac3 (diff)
downloadtor-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-xcontrib/osx/Tor2
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