commit 3ca1d585619d56cb424c9916cd889d1ff9f5b857
parent 82813315edf56a980147bd33778f8d16403fb249
Author: rl1987 <rl1987@sdf.lonestar.org>
Date: Fri, 1 Feb 2019 21:26:29 +0200
Fix SC2064
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)