[Fai-commit] r4977 - trunk/lib

lange at alioth.debian.org lange at alioth.debian.org
Fri Jun 13 10:19:45 UTC 2008


Author: lange
Date: 2008-06-13 10:19:43 +0000 (Fri, 13 Jun 2008)
New Revision: 4977

Modified:
   trunk/lib/subroutines-linux
Log:
the partitioning tools should write everything to format.log


Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux	2008-06-13 09:51:20 UTC (rev 4976)
+++ trunk/lib/subroutines-linux	2008-06-13 10:19:43 UTC (rev 4977)
@@ -110,10 +110,10 @@
 
     if [ X$USE_SETUP_STORAGE = X1 ]; then
 	echo "Partitioning local harddisks using setup-storage"
-	[ ! -s $LOGDIR/disk_var.sh ] && setup-storage -X | tee $LOGDIR/format.log 2>&1
+	[ ! -s $LOGDIR/disk_var.sh ] && setup-storage -X 2>&1 | tee $LOGDIR/format.log 
     else
 	echo "Partitioning local harddisks using setup_harddisks"
-	[ ! -s $LOGDIR/disk_var.sh ] && setup_harddisks -d -X | tee $LOGDIR/format.log 2>&1
+	[ ! -s $LOGDIR/disk_var.sh ] && setup_harddisks -d -X 2>&1 | tee $LOGDIR/format.log
     fi
 
     # partitioning tool must create $LOGDIR/disk_var.sh file




More information about the Fai-commit mailing list