main: ensure program invocation with no package arguments always sends error messages to stderr

feature/tap-sh
William Pitcock 2012-09-14 15:00:47 -05:00
parent 0d18735e3f
commit 0153d2876f
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -780,7 +780,7 @@ main(int argc, char *argv[])
if (pkgq_head == NULL)
{
fprintf(error_msgout, "Please specify at least one package name on the command line.\n");
fprintf(stderr, "Please specify at least one package name on the command line.\n");
return EXIT_FAILURE;
}