mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-20 19:24:51 +02:00
parent
f7a918dcb9
commit
4baad1acbf
@ -227,7 +227,7 @@ g_application_real_local_command_line (GApplication *application,
|
|||||||
|
|
||||||
if (application->priv->flags & G_APPLICATION_IS_SERVICE)
|
if (application->priv->flags & G_APPLICATION_IS_SERVICE)
|
||||||
{
|
{
|
||||||
if (n_args > 1)
|
if ((*exit_status = n_args > 1))
|
||||||
{
|
{
|
||||||
g_printerr ("GApplication service mode takes no arguments.\n");
|
g_printerr ("GApplication service mode takes no arguments.\n");
|
||||||
application->priv->flags &= ~G_APPLICATION_IS_SERVICE;
|
application->priv->flags &= ~G_APPLICATION_IS_SERVICE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user