diff options
-rw-r--r-- | src/rc/openrc-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/openrc-init.c b/src/rc/openrc-init.c index 00423746..c27e2086 100644 --- a/src/rc/openrc-init.c +++ b/src/rc/openrc-init.c @@ -263,7 +263,7 @@ int main(int argc, char **argv) printf("OpenRC init version %s starting\n", VERSION); - if (argc > 1 && argv[1][0] != '\0') + if (argc > 1) default_runlevel = argv[1]; else default_runlevel = NULL; |