summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2013-03-22 21:04:53 -0300
committerLennart Poettering <lennart@poettering.net>2013-03-23 01:44:56 +0100
commit4ad61fd1806dde23d2c99043b4bed91a196d2c82 (patch)
treeef5ceb590255ae45adb69ce737d25989d8f8dedd /src/systemctl
parent3ac251b81a41295a90c89c164f0d72ce6de651aa (diff)
add --with-telinit=PATH configure option
Distributions that never shipped upstart do not have "telinit" in /lib/upstart/.. Defaults to /lib/upstart/telinit so there is no change for systems existing installs.
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 1ea0e4e7ec..edd136addd 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4918,7 +4918,7 @@ static int parse_argv(int argc, char *argv[]) {
* request to it. For now we simply
* guess that it is Upstart. */
- execv("/lib/upstart/telinit", argv);
+ execv(TELINIT, argv);
log_error("Couldn't find an alternative telinit implementation to spawn.");
return -EIO;