[Fai-commit] r5340 - in trunk: debian lib
Thomas Lange
lange at alioth.debian.org
Thu Apr 16 15:51:31 UTC 2009
Author: lange
Date: 2009-04-16 15:51:31 +0000 (Thu, 16 Apr 2009)
New Revision: 5340
Modified:
trunk/debian/changelog
trunk/lib/subroutines
Log:
stop_fai_installation() sends message to faimond
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-04-16 15:47:45 UTC (rev 5339)
+++ trunk/debian/changelog 2009-04-16 15:51:31 UTC (rev 5340)
@@ -34,6 +34,7 @@
create /var/run/fai (closes: #515775)
* fai-client.dirs, fai-server.dirs: remove /var/run/fai
* subroutines: add trap for softupdates (closes: #449236)
+ stop_fai_installation() sends message to faimond
[ Michael Tautschnig ]
* setup-storage: Bumped version number to 1.0.4
Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines 2009-04-16 15:47:45 UTC (rev 5339)
+++ trunk/lib/subroutines 2009-04-16 15:51:31 UTC (rev 5340)
@@ -101,7 +101,8 @@
stop_fai_installation() {
# this subroutine should directly stop the installation process
- echo "Traceback: $task_error_func"
+ sendmon "TASKEND $taskname $task_error"
+ echo "Error in task $taskname. Traceback: $task_error_func"
die "FATAL ERROR. Installation stopped."
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list