From e8331f9d7d051c301069b645e6dbe7eb4897fa88 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 15 Jun 2005 18:19:42 +0000 Subject: Make OSX init script check for missing argument in a way that works svn:r4433 --- contrib/osx/Tor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.3-54-g00ecf