X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=bin%2Flive-snapshot;h=5837f5d1dd783915fd053251f46225f3773a6414;hb=9f0888fd9ffcbb319722a39e9f357693800f2b6b;hp=03245ea6e251f699afd0a35c3b8a32b54fa88420;hpb=b7e456cbafb2d594a9f9317f11a99740bd1af4d6;p=live-boot-grml.git diff --git a/bin/live-snapshot b/bin/live-snapshot index 03245ea..5837f5d 100755 --- a/bin/live-snapshot +++ b/bin/live-snapshot @@ -307,7 +307,7 @@ Do_snapshot () Clean () { - if echo "${DEST}" | grep -q "${MOUNTP}" + if [ -z "${SNAP_RESYNC_STRING}" ] && echo "${DEST}" | grep -q "${MOUNTP}" then echo "${DEST} is present on ${MOUNTP}, therefore no automatic unmounting the latter." > /dev/null 1>&2 else