diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-10 01:20:17 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-10 01:20:17 +0000 |
commit | 21c92dace0052ed78815092d4f3db91367d7a381 (patch) | |
tree | 57fc6ccfea13ebf036eb6f77041cd37b1beb8ecd /contrib/tor.sh.in | |
parent | 0f89ec7f4c9adfe2e01dde51a009aa6fe0acf46d (diff) | |
download | tor-21c92dace0052ed78815092d4f3db91367d7a381.tar.gz tor-21c92dace0052ed78815092d4f3db91367d7a381.zip |
More whitespace normalization
svn:r2768
Diffstat (limited to 'contrib/tor.sh.in')
-rw-r--r-- | contrib/tor.sh.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/tor.sh.in b/contrib/tor.sh.in index c5d79b88c6..642cd41fab 100644 --- a/contrib/tor.sh.in +++ b/contrib/tor.sh.in @@ -31,11 +31,11 @@ case "$1" in echo "tor appears to be already running (pid file exists)" echo "Maybe you should run: $0 restart ?" RETVAL=1 - else + else echo -n "Starting tor..." if [ "x$TORUSER" = "x" ]; then $TORBIN -f $TORCONF $TORARGS - else + else /bin/su -c "$TORBIN -f $TORCONF $TORARGS" $TORUSER fi RETVAL=$? @@ -87,7 +87,6 @@ case "$1" in $0 start ;; - status) PID=`cat $TORPID 2>/dev/null` if [ "$PID" != "" ]; then @@ -105,7 +104,7 @@ case "$1" in log) cat $TORLOG ;; - + *) echo "Usage: $0 (start|stop|restart|status|log)" exit 1 |