diff options
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/main.c b/src/core/main.c index dd8b65083b..4fe0b7380b 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1226,18 +1226,6 @@ int main(int argc, char *argv[]) { struct rlimit saved_rlimit_nofile = RLIMIT_MAKE_CONST(0); const char *error_message = NULL; -#ifdef HAVE_SYSV_COMPAT - if (getpid() != 1 && strstr(program_invocation_short_name, "init")) { - /* This is compatibility support for SysV, where - * calling init as a user is identical to telinit. */ - - errno = -ENOENT; - execv(SYSTEMCTL_BINARY_PATH, argv); - log_error_errno(errno, "Failed to exec " SYSTEMCTL_BINARY_PATH ": %m"); - return 1; - } -#endif - dual_timestamp_from_monotonic(&kernel_timestamp, 0); dual_timestamp_get(&userspace_timestamp); |