diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-16 20:22:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-16 20:22:07 +0100 |
commit | bd8b65996c2bb2f44453f815fcd2e083827c15a3 (patch) | |
tree | 3c87802d0171b725165631a65159164a4de3b0dc /src | |
parent | d477bc35b0bf92514fcbdb315b9ffefe993d0395 (diff) | |
parent | b9f65a60c28d191bb9bbd5668593e56885250644 (diff) |
Merge pull request #2636 from 0xAX/not-edit-errno-manually
main: no need to set errno manually
Diffstat (limited to 'src')
-rw-r--r-- | src/core/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index e2088574c0..c725a686f1 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1313,7 +1313,6 @@ int main(int argc, char *argv[]) { /* 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; |