summaryrefslogtreecommitdiffstats
path: root/utils/mount/mount.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-08-24 13:11:00 +1000
committerNeil Brown <neilb@suse.de>2007-08-24 13:11:00 +1000
commiteb6dca418a2f862a5a478d4613e0c70598c93d53 (patch)
tree5956489cf054b8f8c96eba51ab36fbd517bec0c1 /utils/mount/mount.c
parent3779638fd686d951afbf5d3e9ff025614fea7748 (diff)
downloadnfs-utils-eb6dca418a2f862a5a478d4613e0c70598c93d53.tar.gz
nfs-utils-eb6dca418a2f862a5a478d4613e0c70598c93d53.tar.xz
nfs-utils-eb6dca418a2f862a5a478d4613e0c70598c93d53.zip
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 <neilb@suse.de>
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r--utils/mount/mount.c4
1 files changed, 1 insertions, 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: