summaryrefslogtreecommitdiff
path: root/tests/rm/interactive-once
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/interactive-once')
-rwxr-xr-xtests/rm/interactive-once2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/interactive-once b/tests/rm/interactive-once
index 9643eff90..9325e8e70 100755
--- a/tests/rm/interactive-once
+++ b/tests/rm/interactive-once
@@ -29,7 +29,7 @@ fi
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