From b8b3feabea8a9b5a40d2f293bd1a3e595855e9f1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 4 May 2012 07:56:14 +0000 Subject: setup-bootable: show warning if remount as rw fails --- setup-bootable.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup-bootable.in') 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 -- cgit v1.2.3