[tor-commits] [tor-messenger-build/master] Shift the argument for offline mode

sukhbir at torproject.org sukhbir at torproject.org
Mon Mar 23 09:19:45 UTC 2015


commit e9693c29f3e46ded83813fcbe3846e7a81ee9739
Author: Sukhbir Singh <sukhbir at torproject.org>
Date:   Mon Mar 23 14:50:45 2015 +0530

    Shift the argument for offline mode
---
 projects/tor-mail/start-tor-mail |    1 +
 1 file changed, 1 insertion(+)

diff --git a/projects/tor-mail/start-tor-mail b/projects/tor-mail/start-tor-mail
index ff436e2..9cbe4e9 100755
--- a/projects/tor-mail/start-tor-mail
+++ b/projects/tor-mail/start-tor-mail
@@ -126,6 +126,7 @@ if [ "$#" -ge 1 ]; then
     if [ "x$1" = "x--offline" -o "x$1" = "x-offline" ]; then
         TOR_SKIP_LAUNCH=1
         export TOR_SKIP_LAUNCH
+        shift
         printf "\nOffline mode enabled. Tor will not be started.\n\n"
     fi
     if [ "x$1" = "x--debug" -o "x$1" = "x-debug" ]; then



More information about the tor-commits mailing list