diff options
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 () |
