diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-06-18 10:39:48 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-06-18 10:39:48 +0000 |
commit | 1141d970b111af0307ed323b85ae9cc7edc8f97e (patch) | |
tree | 971cd15577a5554221368b35aaae96ad7f1a950c | |
parent | 2b3e2bb2d4c5fb0185a42b50354278fea97aa817 (diff) | |
download | s6-rc-1141d970b111af0307ed323b85ae9cc7edc8f97e.tar.xz |
Fix arg handling
-rw-r--r-- | src/s6-rc/s6-rc.c | 2 |
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() ; |