initial import
[patches.git] / util-linux-no-error-on-fake-mount.patch
1 diff --git a/mount/mount.c b/mount/mount.c
2 index 63e6731..309fa10 100644
3 --- a/mount/mount.c
4 +++ b/mount/mount.c
5 @@ -1746,7 +1746,7 @@ main(int argc, char *argv[]) {
6 case 0:
7 /* mount -a */
8 result = do_mount_all (types, options, test_opts);
9 - if (result == 0 && verbose)
10 + if (result == 0 && verbose && !fake)
11 error(_("nothing was mounted"));
12 break;
13