summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2009-05-15 10:00:55 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:05 +0100
commit0ed041259b335664ca3f64d50f29cfb071e04100 (patch)
tree0fced503c2a3f59f0848993b3bb73b3a21847c7b /scripts
parent6c6c31fe8348213396d7bd2dcfea72e0299debf9 (diff)
downloadlive-boot-0ed041259b335664ca3f64d50f29cfb071e04100.tar.gz
live-boot-0ed041259b335664ca3f64d50f29cfb071e04100.zip
Two return code consistency fix.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers3
1 files changed, 2 insertions, 1 deletions
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 ()