[Fai-commit] r4121 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Wed Nov 1 11:51:50 CET 2006
Author: lange
Date: 2006-11-01 11:51:50 +0100 (Wed, 01 Nov 2006)
New Revision: 4121
Modified:
trunk/lib/subroutines
Log:
fix logical operation, tie regex to the beginning of line
Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines 2006-10-31 17:27:17 UTC (rev 4120)
+++ trunk/lib/subroutines 2006-11-01 10:51:50 UTC (rev 4121)
@@ -523,7 +523,7 @@
fi
echo $FAI_CONFIG_SRC | grep -q ^nfs://
if [ $? -eq 0 ]; then
- grep -q $FAI /etc/mtab || umount $FAI
+ grep -q ^$FAI /etc/mtab && umount $FAI
fi
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list