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

nickm at torproject.org nickm at torproject.org
Fri Jun 26 13:34:43 UTC 2020


commit 4b2cb0d8084bc26b06993bcdd12cf739b7aeee6f
Author: Nick Mathewson <nickm at torproject.org>
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
 





More information about the tor-commits mailing list