summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s6-rc/s6-rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c
index 327fc06..8e8ba32 100644
--- a/src/s6-rc/s6-rc.c
+++ b/src/s6-rc/s6-rc.c
@@ -378,7 +378,7 @@ int main (int argc, char const *const *argv)
else deadline = tain_infinite_relative ;
}
if (!argc) dieusage() ;
- what = parse_command(argv[0]) ;
+ what = parse_command(*argv++) ;
if (!what)
{
print_help() ;