summaryrefslogtreecommitdiff
path: root/tests/chgrp/no-x
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chgrp/no-x')
-rwxr-xr-xtests/chgrp/no-x2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/chgrp/no-x b/tests/chgrp/no-x
index d82002c61..b8ebed5f6 100755
--- a/tests/chgrp/no-x
+++ b/tests/chgrp/no-x
@@ -34,7 +34,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