* Ignore remount read-only errors.

svn path=/nixos/trunk/; revision=7630
This commit is contained in:
Eelco Dolstra 2007-01-11 00:40:08 +00:00
parent c7c16f384a
commit 66d4c6c4e2

View File

@ -50,7 +50,7 @@ script
if umount -f -n \"$mp\"; then if umount -f -n \"$mp\"; then
if test \"$mp\" != /; then tryAgain=1; fi if test \"$mp\" != /; then tryAgain=1; fi
else else
mount -n -o remount,ro \"$mp\" mount -n -o remount,ro \"$mp\" || true
fi fi
# Hack: work around a bug in mount (mount -o remount on a # Hack: work around a bug in mount (mount -o remount on a