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

[tor-commits] [chutney/master] fixup! Avoid using "unset" now that we have -o nounset enabled.



commit 4b2cb0d8084bc26b06993bcdd12cf739b7aeee6f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Jun 24 15:30:29 2020 -0400

    fixup! Avoid using "unset" now that we have -o nounset enabled.
---
 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 c221db4..7717655 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -285,7 +285,7 @@ if [ -d "$TOR_DIR" ]; then
         TOR_APP_DIR="$TOR_DIR/src/or"
     else
         $ECHO "$myname: \$TOR_DIR has no src/app or src/or, looking elsewhere"
-        unset TOR_DIR
+        TOR_DIR=""
     fi
 fi
 



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