| diff -up nfs-utils-1.3.0/utils/mount/mount_libmount.c.orig nfs-utils-1.3.0/utils/mount/mount_libmount.c |
| --- nfs-utils-1.3.0/utils/mount/mount_libmount.c.orig 2016-06-08 09:48:19.446035537 -0400 |
| +++ nfs-utils-1.3.0/utils/mount/mount_libmount.c 2016-06-08 09:57:58.389518986 -0400 |
| @@ -207,6 +207,7 @@ static int umount_main(struct libmnt_con |
| |
| if (!spec || (*spec != '/' && strchr(spec,':') == NULL)) { |
| nfs_error(_("%s: no mount point provided"), progname); |
| + umount_usage(); |
| return EX_USAGE; |
| } |
| |
| @@ -328,6 +329,7 @@ static int mount_main(struct libmnt_cont |
| |
| if (!mount_point) { |
| nfs_error(_("%s: no mount point provided"), progname); |
| + mount_usage(); |
| goto err; |
| } |
| if (!spec) { |