summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/live-snapshot2
1 files changed, 1 insertions, 1 deletions
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