forked from ariadne/pkgconf
main: ensure program invocation with no package arguments always sends error messages to stderr
parent
0d18735e3f
commit
0153d2876f
2
main.c
2
main.c
|
@ -780,7 +780,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
if (pkgq_head == NULL)
|
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;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue