aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 2bd8903..0414cb4 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -12,7 +12,7 @@ cleanup() {
sync
sleep 1
for i in $read_only_mounts; do
- mount -o remount,ro "$i"
+ mount -o remount,ro "$i" || echo "Warning: Failed to remount as read-only. Is modloop mounted?"
done
if [ -n "$umounts" ]; then
umount $umounts