summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/osx/Tor5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/osx/Tor b/contrib/osx/Tor
index 83bb2a6f5b..983b67b91a 100755
--- a/contrib/osx/Tor
+++ b/contrib/osx/Tor
@@ -56,4 +56,9 @@ StopService ()
RestartService () { StopService; StartService; }
+if [ "x$1" = x ]; then
+ echo "Syntax: tor {start|stop}
+ exit 1
+fi
+
RunService "$1"