X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;fp=scripts%2Flive;h=780c5de16cdab8afc7e9edf3ae1c3cbf7a185e40;hb=c857e16ba065ab92476bad582dc28f1150e21502;hp=772ccc5802de2e07106ff8ee24ff644d7ef448d0;hpb=adbd339371f5525d1271d089cb495edc0ded854f;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 772ccc5..780c5de 100755 --- a/scripts/live +++ b/scripts/live @@ -1215,9 +1215,9 @@ setup_unionfs () done # Look for other snapshots to copy in - try_snap "${root_snapdata}" "${rootmnt}" "ROOT" + [ -n "${root_snapdata}" ] && try_snap "${root_snapdata}" "${rootmnt}" "ROOT" # This second type should be removed when snapshot grow smarter - try_snap "${home_snapdata}" "${rootmnt}" "HOME" "/home" + [ -n "${home_snapdata}" ] && try_snap "${home_snapdata}" "${rootmnt}" "HOME" "/home" fi mkdir -p "${rootmnt}/live"