mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02:00
glib-compile-schemas: write informational messages to stdout
The fact that we return 0 here makes it clear that this is not considered an error, so it makes sense to not write these messages to stderr. Proposed by Antoine Jacoutot, https://bugzilla.gnome.org/show_bug.cgi?id=650882
This commit is contained in:
@@ -2020,13 +2020,13 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
if (files->len == 0)
|
if (files->len == 0)
|
||||||
{
|
{
|
||||||
fprintf (stderr, _("No schema files found: "));
|
fprintf (stdout, _("No schema files found: "));
|
||||||
|
|
||||||
if (g_unlink (target))
|
if (g_unlink (target))
|
||||||
fprintf (stderr, _("doing nothing.\n"));
|
fprintf (stdout, _("doing nothing.\n"));
|
||||||
|
|
||||||
else
|
else
|
||||||
fprintf (stderr, _("removed existing output file.\n"));
|
fprintf (stdout, _("removed existing output file.\n"));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user