Commit b8b3feab authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-bootable: show warning if remount as rw fails

parent 2de61b48
......@@ -12,7 +12,7 @@ cleanup() {
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?"
if [ -n "$umounts" ]; then
umount $umounts
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment