From eb6dca418a2f862a5a478d4613e0c70598c93d53 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Fri, 24 Aug 2007 13:11:00 +1000 Subject: [PATCH] mount: Small tidy up. 1/ remove confusing sentence from a comment. 2/ remove needless 'exit' - just fall through to common exit. Signed-off-by: Neil Brown --- utils/mount/mount.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/utils/mount/mount.c b/utils/mount/mount.c index ec57d84..4b78021 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -554,8 +554,7 @@ int main(int argc, char *argv[]) fflush(stdout); /* - * Parent exits immediately with success. Make - * sure not to free "mount_point" + * Parent exits immediately with success. */ if (fork() > 0) exit(0); @@ -566,7 +565,6 @@ int main(int argc, char *argv[]) if (verbose && mnt_err) printf(_("%s: giving up \"%s\"\n"), progname, spec); - exit(0); } out: -- 2.39.2