summaryrefslogtreecommitdiff
path: root/procps/fuser.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/fuser.c')
-rw-r--r--procps/fuser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/procps/fuser.c b/procps/fuser.c
index 850626e..35d77ed 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]);