diff options
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r-- | utils/mount/mount.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c index 92ed2bc..64a2b75 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -374,13 +374,8 @@ int main(int argc, char *argv[]) discover_nfs_mount_data_version(); - if(!strncmp(progname, "umount", strlen("umount"))) { - if(argc < 2) { - umount_usage(); - exit(EX_USAGE); - } + if(!strncmp(progname, "umount", strlen("umount"))) exit(nfsumount(argc, argv)); - } if (argv[1] && argv[1][0] == '-') { if(argv[1][1] == 'V') |