[SCM] live-helper branch, master, updated. 1.0.5-2-27-g218ab2e

Daniel Baumann daniel at debian.org
Mon Oct 19 11:54:27 UTC 2009


The following commit has been merged in the master branch:
commit 218ab2ead03b446391017f020adfb654c7019810
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Oct 19 13:52:54 2009 +0200

    Returning error value of the last process before exiting (Closes: #527331).

diff --git a/functions/exit.sh b/functions/exit.sh
index 16dda8c..bbfaf58 100755
--- a/functions/exit.sh
+++ b/functions/exit.sh
@@ -9,6 +9,8 @@
 
 Exit ()
 {
+	VALUE="${?}"
+
 	if [ "${_DEBUG}" = "enabled" ]
 	then
 		# Dump variables
@@ -22,6 +24,8 @@ Exit ()
 	do
 		umount ${DIRECTORY} > /dev/null 2>&1 || true
 	done
+
+	return ${VALUE}
 }
 
 Setup_cleanup ()

-- 
live-helper



More information about the debian-live-changes mailing list