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

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



commit ee777176704017f2fb4f0cdb2d9d2217909dd817
Author: teor <teor2345@xxxxxxxxx>
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

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