mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01: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 (n_args > 1)
|
||||
if ((*exit_status = n_args > 1))
|
||||
{
|
||||
g_printerr ("GApplication service mode takes no arguments.\n");
|
||||
application->priv->flags &= ~G_APPLICATION_IS_SERVICE;
|
||||
|
Loading…
Reference in New Issue
Block a user