chiark / gitweb /
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 6bcb5f6..bf25adb 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;
 }