[systemd-commits] src/systemadm.vala

Michal Schmidt michich at kemper.freedesktop.org
Sat Jul 2 16:54:39 PDT 2011


 src/systemadm.vala |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b8590c197deceab623d37dbb95e30eec9cf47d14
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Sun Jul 3 01:47:21 2011 +0200

    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

diff --git a/src/systemadm.vala b/src/systemadm.vala
index c262794..d45ec64 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;



More information about the systemd-commits mailing list