diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c index 11c380171..54745bf16 100644 --- a/src/openrc-run/openrc-run.c +++ b/src/openrc-run/openrc-run.c @@ -1249,7 +1249,7 @@ int main(int argc, char **argv) atexit(cleanup); - if (argc < 3) + if (argc < 2) usage(EXIT_FAILURE); /* Change dir to / to ensure all init scripts don't use stuff in pwd */