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

[tor-commits] [chutney/master] Reserve an exit status of 2 for "unknown command-line argument"



commit 68ac9d859c0ffb91e02160d87a93e0b328b9f374
Author: teor <teor2345@xxxxxxxxx>
Date:   Tue Feb 28 02:01:53 2017 +1100

    Reserve an exit status of 2 for "unknown command-line argument"
    
    Required for tor's 21570 to work.
---
 tools/test-network.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test-network.sh b/tools/test-network.sh
index 2f54ed0..bf04dd5 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -251,7 +251,7 @@ if [ "$NETWORK_DRY_RUN" = true -o "$CHUTNEY_WARNINGS_ONLY" = true ]; then
     return 2>/dev/null || exit
 fi
 
-"$CHUTNEY_PATH/tools/bootstrap-network.sh" "$NETWORK_FLAVOUR" || exit 2
+"$CHUTNEY_PATH/tools/bootstrap-network.sh" "$NETWORK_FLAVOUR" || exit 3
 
 # chutney starts verifying after 20 seconds, keeps on trying for 60 seconds,
 # and then stops immediately (by default)



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