From be6b1ff8961f46a2bf51811bdd536c3d90239027 Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Fri, 15 May 2009 10:00:55 +0200 Subject: [PATCH] Two return code consistency fix. --- scripts/live-helpers | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- 2.1.4