diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-01 21:26:29 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-01 21:26:29 +0200 |
commit | 3ca1d585619d56cb424c9916cd889d1ff9f5b857 (patch) | |
tree | 48c3053126acd51269d7599d17cba62c4179d77e /src/test/test_keygen.sh | |
parent | 82813315edf56a980147bd33778f8d16403fb249 (diff) | |
download | tor-3ca1d585619d56cb424c9916cd889d1ff9f5b857.tar.gz tor-3ca1d585619d56cb424c9916cd889d1ff9f5b857.zip |
Fix SC2064
Diffstat (limited to 'src/test/test_keygen.sh')
-rwxr-xr-x | src/test/test_keygen.sh | 2 |
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) |