From: Neil Brown Date: Fri, 24 Aug 2007 03:11:00 +0000 (+1000) Subject: mount: Small tidy up. X-Git-Tag: nfs-utils-1-1-1~71 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=eb6dca418a2f862a5a478d4613e0c70598c93d53 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 --- 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: