fish: -i option should fail if / is not mountable, but warn about others.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Dec 2011 09:49:37 +0000 (09:49 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Dec 2011 15:35:46 +0000 (15:35 +0000)
commit0e5174333ec0d99114cd1d94b5476cc117cca2e1
tree3caa18a4d14d3d5f1f8f4f440ddf3e86a00603fe
parent87e972e69487564f44b20ea5dcfc3eadf5b34c74
fish: -i option should fail if / is not mountable, but warn about others.

In particular this stops a problem with guestmount where if the -i
option half-recognizes the guest OS, it would mount the disk (and
fail, giving only warnings), leaving the mountpoint unusable.

(Thanks Pádraig Brady)
(cherry picked from commit 54e91da925323642e67b8ce4b95899fe4b7a51c4)
fish/inspect.c