summaryrefslogtreecommitdiff
path: root/tests/rm/empty-inacc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/empty-inacc')
-rwxr-xr-xtests/rm/empty-inacc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/empty-inacc b/tests/rm/empty-inacc
index 5db86ad42..bc040689d 100755
--- a/tests/rm/empty-inacc
+++ b/tests/rm/empty-inacc
@@ -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