[Fai-commit] r3952 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Wed Sep 13 18:57:06 UTC 2006


Author: lange
Date: 2006-09-13 18:57:06 +0000 (Wed, 13 Sep 2006)
New Revision: 3952

Modified:
   trunk/bin/fai
Log:
export FAI_ACTION, fix -c and -C in usage()


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2006-09-13 16:55:09 UTC (rev 3951)
+++ trunk/bin/fai	2006-09-13 18:57:06 UTC (rev 3952)
@@ -124,8 +124,8 @@
 	   -v|--verbose      display more information during the update
 	   -h|--help         display this help message
 	   -N|--new          renew list of classes
-	   -C|--class        comma separated list of classes
-	   -c|--cfdir CFDIR  Use CFDIR for  reading the config files
+	   -c|--class        comma separated list of classes
+	   -C|--cfdir CFDIR  Use CFDIR for  reading the config files
 
 EOF
     exit 0
@@ -284,7 +284,7 @@
 # set_disk_info
 # } > >( tee -a $LOGDIR/fai.log )  2>&1
 
-[ "$action" ] && FAI_ACTION=$action
+[ "$action" ] && export FAI_ACTION=$action
 unset action
 task action 2>&1 | tee -a $LOGDIR/fai.log
 




More information about the Fai-commit mailing list