diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-07-03 01:47:21 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-07-03 01:51:09 +0200 |
commit | b8590c197deceab623d37dbb95e30eec9cf47d14 (patch) | |
tree | 62d82470d54024f8a094c0e31bb5a09038304954 | |
parent | 30923233b34e23ed1b3ffa7317f6219f695fec2f (diff) |
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
-rw-r--r-- | src/systemadm.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemadm.vala b/src/systemadm.vala index c262794cb7..d45ec64ca4 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; |