projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
416f4a8
)
systemadm: ignore entry activation on empty string
author
Lennart Poettering
<lennart@poettering.net>
Sun, 16 May 2010 14:21:08 +0000
(16:21 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 16 May 2010 14:21:08 +0000
(16:21 +0200)
systemadm.vala
patch
|
blob
|
history
diff --git
a/systemadm.vala
b/systemadm.vala
index
ac4c19e
..
c5c90b3
100644
(file)
--- a/
systemadm.vala
+++ b/
systemadm.vala
@@
-785,8
+785,13
@@
public class MainWindow : Window {
}
public void on_unit_load() {
+ string t = unit_load_entry.get_text();
+
+ if (t == "")
+ return;
+
try {
- var path = manager.load_unit(
unit_load_entry.get_text()
);
+ var path = manager.load_unit(
t
);
Unit u = bus.get_object(
"org.freedesktop.systemd1",