chiark / gitweb /
shutdown: don't consider umounting of / and /usr failed
authorTom Gundersen <teg@jklm.no>
Wed, 28 Nov 2012 17:08:54 +0000 (18:08 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 28 Nov 2012 17:26:35 +0000 (18:26 +0100)
commit140883405e429d9f8d3480a2701d8904f97e4a98
treec15f969a17804e6b08cce258c51d8a1fe5d15ff7
parent02eaa78835fb994dbe609296d9b9d0c9b463cc1c
shutdown: don't consider umounting of / and /usr failed

In the words of Homer: If you don't try, you can't fail.

This is a revert of 9279749b84cc87c7830280b7895a48bed03c9429.

It used to be necessary to consider the umounting failed to make sure /
and /usr were remounted read-only, but that is no longer necessary as
everything is now remounted read-only anyway.

Moreover, this avoids a warning at shutdown saying a filesystem was not
unmounted. As the umounting of / is never attempted there was no
corresponding warning message saying which fs that failed. This caused some
spurious bug-reports from concerned users.

Cc: Michael Biebl <biebl@debian.org>
src/core/umount.c