mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
Make OSX init script check for missing argument in a way that works
svn:r4433
This commit is contained in:
parent
5782ffd79a
commit
e8331f9d7d
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ StopService ()
|
||||||
|
|
||||||
RestartService () { StopService; StartService; }
|
RestartService () { StopService; StartService; }
|
||||||
|
|
||||||
if [ "x$1" = x ]; then
|
if [ "$#" = 0 ]; then
|
||||||
echo "Syntax: tor {start|stop}"
|
echo "Syntax: tor {start|stop}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue