summaryrefslogtreecommitdiff
path: root/tests/ls/inode
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls/inode')
-rwxr-xr-xtests/ls/inode2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ls/inode b/tests/ls/inode
index 2a39b0262..305eb2226 100755
--- a/tests/ls/inode
+++ b/tests/ls/inode
@@ -25,7 +25,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