[SCM] Debian Live initramfs hook branch, master, updated. 1.157.2-1-7-g8bee5d0

Daniel Baumann daniel at debian.org
Fri May 15 20:32:59 UTC 2009


The following commit has been merged in the master branch:
commit 0f91cd60ce6bf1886050a75ea87209a24ff027a5
Author: Marco Amadori <amadorim at vdavda.com>
Date:   Fri May 15 10:00:55 2009 +0200

    Two return code consistency fix.

diff --git a/scripts/live-helpers b/scripts/live-helpers
index c4fca95..79b158c 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -367,7 +367,7 @@ find_cow_device ()
 			if [ "$(/lib/udev/vol_id -l ${devname} 2>/dev/null)" = "${pers_label}" ]
 			then
 				echo "${devname}"
-				return
+				return 0
 			fi
 
 			if [ "${PERSISTENT}" = "nofiles" ]
@@ -398,6 +398,7 @@ find_cow_device ()
 			esac
 		done
 	done
+	return 1
 }
 
 find_files ()

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list