]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
mount: Small tidy up.
authorNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 03:11:00 +0000 (13:11 +1000)
committerNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 03:11:00 +0000 (13:11 +1000)
1/ remove confusing sentence from a comment.
2/ remove needless 'exit' - just fall through to common exit.

Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/mount.c

index ec57d847dd02079745bd28b054123b93a316e3dc..4b78021a5d1446d01a7ef8aee6c5ce84f8cf825e 100644 (file)
@@ -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: