summaryrefslogtreecommitdiffstats
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-07-14 18:05:33 +0200
committerLennart Poettering <lennart@poettering.net>2011-07-14 18:05:33 +0200
commit0a55b298d930543c8065bb9e708dd112562b1736 (patch)
tree81aa7f707e36a4d0b421a8b4843e32ff2063c5b9 /src/systemctl.c
parentlogind: fix some potentially uninitialized accesses (diff)
downloadsystemd-0a55b298d930543c8065bb9e708dd112562b1736.tar.xz
systemd-0a55b298d930543c8065bb9e708dd112562b1736.zip
systemctl: don't try rebooting with /dev/initcl if Upstart worked
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 840e2ffc2d..3767e22135 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -5112,7 +5112,7 @@ static int talk_upstart(void) {
goto finish;
}
- r = 0;
+ r = 1;
finish:
if (m)