Commit e8331f9d authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Make OSX init script check for missing argument in a way that works


svn:r4433
parent 5782ffd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ StopService ()

RestartService () { StopService; StartService; }

if [ "x$1" = x ]; then
if [ "$#" = 0 ]; then
  echo "Syntax: tor {start|stop}"
  exit 1
fi