aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openrc-run/openrc-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openrc-run/openrc-run.c b/src/openrc-run/openrc-run.c
index 11c38017..54745bf1 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 */