]> git.ipfire.org Git - people/ms/systemd.git/commitdiff
systemadm: when systemd isn't found, quit right-away
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 02:10:13 +0000 (04:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 02:10:13 +0000 (04:10 +0200)
systemadm.vala

index 6bcb5f6a8319b705eea649880f1f06964f036c1e..bf25adbf3d0ba3cf4452dd9e69d831f06e0c00c6 100644 (file)
@@ -702,12 +702,13 @@ int main (string[] args) {
 
                 MainWindow window = new MainWindow();
                 window.show_all();
+
+                Gtk.main();
         } catch (DBus.Error e) {
                 message("%s", e.message);
         } catch (GLib.Error e) {
                 message("%s", e.message);
         }
 
-        Gtk.main();
         return 0;
 }