Whamcloud - gitweb
Pass inline data from filesystem through obdo to VFS.
[fs/lustre-release.git] / lustre / demos / baseclean.sh
index f7ad227..0daf84b 100755 (executable)
@@ -28,7 +28,6 @@ rmmod loop > /dev/null 2>&1
 
 if [ "$TMPFILE" -a -f "$TMPFILE" ]; then
     echo -n "Remove $TMPFILE [N/y]? "
-    read ANS
-    [ "`echo $ANS | cut -c1 | tr A-Z a-z`" = "y" ] && rm $TMPFILE
+    rm -i $TMPFILE
 fi