[Fai-commit] r6680 - trunk/bin

Thomas Lange lange at alioth.debian.org
Sun Oct 9 20:56:40 UTC 2011


Author: lange
Date: 2011-10-09 20:56:40 +0000 (Sun, 09 Oct 2011)
New Revision: 6680

Modified:
   trunk/bin/make-fai-nfsroot
Log:
remove unused variable


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2011-10-08 14:07:11 UTC (rev 6679)
+++ trunk/bin/make-fai-nfsroot	2011-10-09 20:56:40 UTC (rev 6680)
@@ -494,9 +494,7 @@
     tar -C $NFSROOT -cf $tmptar root/.ssh
 fi
 
-# Kill the directory if not in recover mode
-if [ -d $NFSROOT/proc -a ! "$recover" ]
-then
+if [ -d $NFSROOT/proc ]; then
     echo $NFSROOT already exists. Removing it.
     umount $NFSROOT/dev/pts 1>/dev/null 2>&1 || true
     [ -L $NFSROOT/proc/self ] && umount $NFSROOT/proc || true




More information about the Fai-commit mailing list