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

Fixes #34.
This commit is contained in:
Will Miles authored and William Hubbs committed 2015-01-22 12:53:41 -06:00
1 parent 3c5dc0ec77
commit cddb4aad08
1 file changed
+1 -1
+1 -1
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();