fuse: Return EXIT_FAILURE if fuse_main fails.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Dec 2011 15:30:23 +0000 (15:30 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 9 Dec 2011 15:30:23 +0000 (15:30 +0000)
commitae45cee728039d7724fc73e5ffb2550c8054d268
tree1c2241e73f9be655633d1feda4218612d3240ac1
parent54e91da925323642e67b8ce4b95899fe4b7a51c4
fuse: Return EXIT_FAILURE if fuse_main fails.

fuse_main can return any non-zero value on error.  In particular on
certain sorts of error such as unsupported -o options it returns 1
(not -1).

Therefore make sure any non-zero return is turned into EXIT_FAILURE.

(Thanks Pádraig Brady)
fuse/guestmount.c