mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix SC2064
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user