chiark / gitweb /
bus: split socket related code into bus-socket.[ch], to prepare for kdbus backend
[elogind.git] / src / systemctl / systemctl.c
index 1ea0e4e7ec547699ad25f0d223f6cbba20ef03bb..edd136addddf9bd10dbdfe8ab29c3f568c71f5a0 100644 (file)
@@ -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;