[Fai-commit] r4069 - trunk/lib
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Mon Oct 9 15:30:49 UTC 2006
Author: lange
Date: 2006-10-09 15:30:49 +0000 (Mon, 09 Oct 2006)
New Revision: 4069
Modified:
trunk/lib/subroutines-linux
Log:
fix logical error. Is nobody prove reading my silly changes? ;-)
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2006-10-08 23:00:05 UTC (rev 4068)
+++ trunk/lib/subroutines-linux 2006-10-09 15:30:49 UTC (rev 4069)
@@ -127,7 +127,7 @@
[ -d $FAI/basefiles ] && ftar -1v -s $FAI/basefiles /
if [ $? -ne 0 ]; then
[ $do_init_tasks -eq 0 ] && basefile=$NFSROOT/var/tmp/base.tgz
- [ -f $basefile ] && die "$basefile not found. Can't extract it. Aborting."
+ [ -f $basefile ] || die "$basefile not found. Can't extract it. Aborting."
# extract the tar file which was the result of debootstrap
echo "Extracting $NFSROOT/var/tmp/base.tgz"
gzip -dc $basefile | tar -C $FAI_ROOT -xpf -
More information about the Fai-commit
mailing list