[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit e9693c29f3e46ded83813fcbe3846e7a81ee9739
Author: Sukhbir Singh <sukhbir@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits