diff options
Diffstat (limited to 'miscutils/inotifyd.c')
-rw-r--r-- | miscutils/inotifyd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/inotifyd.c b/miscutils/inotifyd.c index 216a696..2a13551 100644 --- a/miscutils/inotifyd.c +++ b/miscutils/inotifyd.c @@ -58,7 +58,7 @@ int inotifyd_main(int argc UNUSED_PARAM, char **argv) const char *args[] = { *argv, NULL, NULL, NULL, NULL }; // sanity check: agent and at least one watch must be given - if (!argv[1]) + if (!argv[0] || !argv[1]) bb_show_usage(); // open inotify |