diff options
author | Alexander Larsson <alexl@redhat.com> | 2020-06-09 10:40:07 +0200 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2020-06-09 13:51:02 +0200 |
commit | 8fd4277ba99bda5511b94a7c1aeb74f10f1df1f5 (patch) | |
tree | 11275194689e112adb0a575e43a80c0dc9ca951a /portal | |
parent | c690eb90e44a227ada67c357410c1e3b1b494f41 (diff) | |
download | flatpak-8fd4277ba99bda5511b94a7c1aeb74f10f1df1f5.tar.gz |
portal: Avoid use of g_error()
Use g_warning instead, because it is not fatal.
Diffstat (limited to 'portal')
-rw-r--r-- | portal/flatpak-portal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/portal/flatpak-portal.c b/portal/flatpak-portal.c index 6078b5dd..dd7e788a 100644 --- a/portal/flatpak-portal.c +++ b/portal/flatpak-portal.c @@ -424,7 +424,7 @@ instance_id_read_finish (GObject *source, { /* 0 means EOF, so the process could never have been started. */ if (bytes_read == -1) - g_error ("Failed to read instance id: %s", error->message); + g_warning ("Failed to read instance id: %s", error->message); return; } @@ -463,7 +463,7 @@ child_setup_func (gpointer user_data) sigemptyset (&set); if (pthread_sigmask (SIG_SETMASK, &set, NULL) == -1) { - g_error ("Failed to unblock signals when starting child"); + g_warning ("Failed to unblock signals when starting child"); return; } |