Whamcloud - gitweb
ext2obd/ext2_obd.c: added iput() after reading a bad inode,
[fs/lustre-release.git] / lustre / demos / snapclean.sh
index 10d08f8..04df14f 100755 (executable)
@@ -1,7 +1,6 @@
 #! /bin/bash
 # Utility script for cleaning up snapshots and removing modules.
 OBDDIR="`dirname $0`/.."
-[ "$OBDDIR" = "" ] && OBDDIR=".."
 . $OBDDIR/demos/config.sh
 
 plog umount $MNTOBD
@@ -20,4 +19,5 @@ EOF
 
 rmmod obdsnap
 
+rm $SNAPTABLE
 $OBDDIR/demos/obdfsclean.sh