summaryrefslogtreecommitdiff
path: root/src/test/test_keygen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_keygen.sh')
-rwxr-xr-xsrc/test/test_keygen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_keygen.sh b/src/test/test_keygen.sh
index cc38397836..849d159af5 100755
--- a/src/test/test_keygen.sh
+++ b/src/test/test_keygen.sh
@@ -77,7 +77,7 @@ if [ ! -d "$DATA_DIR" ]; then
echo "Failure: mktemp invocation result doesn't point to directory" >&2
exit 3
fi
-trap "rm -rf '$DATA_DIR'" 0
+trap 'rm -rf "$DATA_DIR"' 0
# Use an absolute path for this or Tor will complain
DATA_DIR=$(cd "${DATA_DIR}" && pwd)