mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Better error message when osx script is invoked without an argument
svn:r4190
This commit is contained in:
parent
3893b3c7ac
commit
dcc1b8a838
@ -56,4 +56,9 @@ StopService ()
|
|||||||
|
|
||||||
RestartService () { StopService; StartService; }
|
RestartService () { StopService; StartService; }
|
||||||
|
|
||||||
|
if [ "x$1" = x ]; then
|
||||||
|
echo "Syntax: tor {start|stop}
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
RunService "$1"
|
RunService "$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user