projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing mountpoint if no persistence layer is found on a device.
[live-boot-grml.git]
/
scripts
/
boot
/
9990-misc-helpers.sh
diff --git
a/scripts/boot/9990-misc-helpers.sh
b/scripts/boot/9990-misc-helpers.sh
index
117876f
..
4429c33
100755
(executable)
--- a/
scripts/boot/9990-misc-helpers.sh
+++ b/
scripts/boot/9990-misc-helpers.sh
@@
-911,7
+911,9
@@
probe_for_file_name ()
then
echo ${ret}
else
then
echo ${ret}
else
+ # unmount and remove mountpoint
umount ${backing} > /dev/null 2>&1 || true
umount ${backing} > /dev/null 2>&1 || true
+ rmdir ${backing} > /dev/null 2>&1 || true
fi
}
fi
}