From 5f24e30701548a7d06dbf9b7656feae14af24b2f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Apr 2007 06:58:18 -0400 Subject: [PATCH] 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 --- mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5