X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=79b158c95b5cc86c7a8ede2aaad108c82964d62f;hb=be6b1ff8961f46a2bf51811bdd536c3d90239027;hp=c4fca957f7a5b76220497a13d1f8c56b1842486f;hpb=5b4f3cc3c37d0e67be996666a760995ba242d766;p=live-boot-grml.git 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 ()