diff options
| author | Marco Amadori <amadorim@vdavda.com> | 2009-05-15 10:00:55 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:05 +0100 |
| commit | 0ed041259b335664ca3f64d50f29cfb071e04100 (patch) | |
| tree | 0fced503c2a3f59f0848993b3bb73b3a21847c7b /scripts | |
| parent | 6c6c31fe8348213396d7bd2dcfea72e0299debf9 (diff) | |
| download | live-boot-0ed041259b335664ca3f64d50f29cfb071e04100.tar.gz live-boot-0ed041259b335664ca3f64d50f29cfb071e04100.zip | |
Two return code consistency fix.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/live-helpers | 3 |
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 () |
