From: Mike Frysinger Date: Fri, 13 Apr 2007 10:58:18 +0000 (-0400) Subject: mount: fix -fv so that it doesn't incorrectly spit out an error that nothing was... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f24e30701548a7d06dbf9b7656feae14af24b2f;p=util-linux mount: fix -fv so that it doesn't incorrectly spit out an error that nothing was done. Signed-off-by: Mike Frysinger Signed-off-by: Martin Schlemmer --- diff --git a/mount/mount.c b/mount/mount.c index 7c1f1bdc..1526f263 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -1749,7 +1749,7 @@ main(int argc, char *argv[]) { case 0: /* mount -a */ result = do_mount_all (types, options, test_opts); - if (result == 0 && verbose) + if (result == 0 && verbose && !fake) error(_("nothing was mounted")); break;