From: Marco Amadori Date: Fri, 15 May 2009 08:00:55 +0000 (+0200) Subject: Two return code consistency fix. X-Git-Tag: debian/2.0.15-1~312 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=0ed041259b335664ca3f64d50f29cfb071e04100;p=live-boot-grml.git 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 ()