summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-23 04:10:13 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-23 04:10:13 +0200
commit703b48af7046c4529ffee4ce37a4be833219e176 (patch)
treeb4129155eac2a6e5ae3c94e0c05e9b2a9ca3c962
parent2146621ba3812a78e2f0f589776f1bc4cce07d34 (diff)
systemadm: when systemd isn't found, quit right-away
-rw-r--r--systemadm.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/systemadm.vala b/systemadm.vala
index 6bcb5f6a83..bf25adbf3d 100644
--- a/systemadm.vala
+++ b/systemadm.vala
@@ -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;
}