summaryrefslogtreecommitdiff
path: root/tests/rm/ignorable
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/ignorable')
-rwxr-xr-xtests/rm/ignorable2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/ignorable b/tests/rm/ignorable
index 7c2b2ba9a..6036dd945 100755
--- a/tests/rm/ignorable
+++ b/tests/rm/ignorable
@@ -27,7 +27,7 @@ PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
pwd=`pwd`
t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
-trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
+trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0
trap '(exit $?); exit $?' 1 2 13 15
framework_failure=0