Fix off-by-one error in --test argument printout in start-stop-daemon.

Fixes #34.
This commit is contained in:
Will Miles 2015-01-09 19:34:26 -05:00 committed by William Hubbs
parent 3c5dc0ec77
commit cddb4aad08

View File

@ -1075,7 +1075,7 @@ start_stop_daemon(int argc, char **argv)
exit (EXIT_SUCCESS);
einfon("Would start");
while (argc-- >= 0)
while (argc-- > 0)
printf(" %s", *argv++);
printf("\n");
eindent();