[Fai-commit] r5454 - in trunk: debian lib

Thomas Lange lange at alioth.debian.org
Sun Jul 19 17:54:17 UTC 2009


Author: lange
Date: 2009-07-19 17:54:16 +0000 (Sun, 19 Jul 2009)
New Revision: 5454

Modified:
   trunk/debian/changelog
   trunk/lib/subroutines
Log:
subroutines: do not unset the funtions task_$taskname after use

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-07-19 17:47:33 UTC (rev 5453)
+++ trunk/debian/changelog	2009-07-19 17:54:16 UTC (rev 5454)
@@ -3,6 +3,7 @@
   [ Thomas Lange ]
   * subroutines-linux: fix log message
     remove yes pipe when calling debootstrap
+  * subroutines: do not unset the funtions task_$taskname after use
   * fai-class: add string warning to message
   * task_sysinfo: call blkid on all disks
   * fcopy.8: improve info for calling postinst

Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2009-07-19 17:47:33 UTC (rev 5453)
+++ trunk/lib/subroutines	2009-07-19 17:54:16 UTC (rev 5454)
@@ -151,8 +151,6 @@
 	sendmon "TASKEND $taskname $task_error"
 	[ "$task_error" -ne 0 ] && echo "Exit code task_$taskname: $task_error"
     fi
-    # since the subroutine is not needed any more, we can undefine it
-    unset task_$taskname
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 ### BEGIN SUBROUTINE INFO




More information about the Fai-commit mailing list