From b8590c197deceab623d37dbb95e30eec9cf47d14 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Sun, 3 Jul 2011 01:47:21 +0200 Subject: [PATCH] systemadm: report GLib.Error only to stderr When a GLib.Error happens, it is likely that showing a message box would fail too. https://bugzilla.redhat.com/show_bug.cgi?id=716663 --- src/systemadm.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemadm.vala b/src/systemadm.vala index c262794c..d45ec64c 100644 --- a/src/systemadm.vala +++ b/src/systemadm.vala @@ -1011,7 +1011,7 @@ int main(string[] args) { } catch (IOError e) { show_error(e.message); } catch (GLib.Error e) { - show_error(e.message); + stderr.printf("%s\n", e.message); } return 0; -- 2.39.5