bad syntax error should go to stderr

This commit is contained in:
Paul Fox 2007-11-14 23:48:35 +00:00
parent 9d6c46955f
commit ae6bf96659

View File

@ -129,7 +129,7 @@ do_it_now:
/* Pid or name is required for kill/killall */ /* Pid or name is required for kill/killall */
if (argc < 1) { if (argc < 1) {
puts("You need to specify whom to kill"); bb_error_msg("You need to specify whom to kill");
return EXIT_FAILURE; return EXIT_FAILURE;
} }