aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procps/fuser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/procps/fuser.c b/procps/fuser.c
index 850626e42..35d77ed1c 100644
--- a/procps/fuser.c
+++ b/procps/fuser.c
@@ -326,6 +326,9 @@ int fuser_main(int argc, char **argv)
int killsig = SIGTERM;
int success = 1;
+ if (argc < 2)
+ bb_show_usage();
+
fni = xmalloc(sizeof(int));
for(i=1;i<argc;i++) {
optn = fuser_option(argv[i]);