summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl-compat-telinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemctl/systemctl-compat-telinit.c')
-rw-r--r--src/systemctl/systemctl-compat-telinit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/systemctl/systemctl-compat-telinit.c b/src/systemctl/systemctl-compat-telinit.c
index 20325e5..210d0a1 100644
--- a/src/systemctl/systemctl-compat-telinit.c
+++ b/src/systemctl/systemctl-compat-telinit.c
@@ -155,11 +155,3 @@ int reload_with_fallback(void) {
return 0;
}
-
-int exec_telinit(char *argv[]) {
- (void) rlimit_nofile_safe();
- (void) execv(TELINIT, argv);
-
- return log_error_errno(SYNTHETIC_ERRNO(EIO),
- "Couldn't find an alternative telinit implementation to spawn.");
-}