projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b7e456c
)
live-snapshot: nicer default auto unmount logic.
author
Marco Amadori
<marco.amadori@gmail.com>
Sat, 7 Jun 2008 23:09:27 +0000
(
01:09
+0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:00 +0000
(17:48 +0100)
bin/live-snapshot
patch
|
blob
|
history
diff --git
a/bin/live-snapshot
b/bin/live-snapshot
index
03245ea
..
5837f5d
100755
(executable)
--- 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