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

[tor-commits] [torbrowser/maint-2.2] [Linux] Exit successfully when run with the --help option



commit 5394b8fca9499711fe0d7c79054a536bfc24c447
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
Date:   Fri Aug 26 04:55:19 2011 -0400

    [Linux] Exit successfully when run with the --help option
    (cherry picked from commit 71a997097d59f85d6a02a50e620092f92a684728)
---
 src/RelativeLink/RelativeLink.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/RelativeLink/RelativeLink.sh b/src/RelativeLink/RelativeLink.sh
index 04d91fa..248750e 100755
--- a/src/RelativeLink/RelativeLink.sh
+++ b/src/RelativeLink/RelativeLink.sh
@@ -119,7 +119,7 @@ if [ "$#" -eq 1 -a \( "x$1" = "x--debug" -o "x$1" = "x-debug" \) ]; then
 	printf "\nDebug enabled.\n\n"
 elif [ "$#" -eq 1 -a \( "x$1" = "x--help" -o "x$1" = "x-help" \) ]; then
 	echo "$usage_message"
-	exit 1
+	exit 0
 elif [ "$#" -ne 0 ]; then
 	complain "$usage_message"
 	exit 1



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