[tor-commits] [chutney/master] Fix a shell variable increment that was accidentally executed

teor at torproject.org teor at torproject.org
Thu May 11 06:22:17 UTC 2017


commit ee777176704017f2fb4f0cdb2d9d2217909dd817
Author: teor <teor2345 at gmail.com>
Date:   Thu May 11 16:20:22 2017 +1000

    Fix a shell variable increment that was accidentally executed
---
 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 bb09591..d77003b 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -303,7 +303,7 @@ if [ "$CHUTNEY_BOOTSTRAP_TIME" -ge 0 ]; then
           -a "$VERIFY_EXIT_STATUS" -eq 0 ]; do
       "$CHUTNEY" verify "$CHUTNEY_NETWORK"
       VERIFY_EXIT_STATUS="$?"
-      $[n_rounds++]
+      n_rounds=$[n_rounds+1]
   done
   $ECHO "Completed $n_rounds of $CHUTNEY_ROUNDS verify rounds."
 else



More information about the tor-commits mailing list