ProcessSpawnImpl(): remove redundant _exit(128);

Now this if doesn’t _exit(128) by itself, but "return" to the outer if which immediately _exit(128)s.
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-03-02 12:45:15 +01:00 committed by GitHub
parent cf517050bc
commit 55930c8042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -181,7 +181,6 @@ static Value ProcessSpawnImpl(struct msghdr *msgh, const Dictionary::Ptr& reques
strncat(errmsg, ") failed", sizeof(errmsg) - strlen(errmsg) - 1);
errmsg[sizeof(errmsg) - 1] = '\0';
perror(errmsg);
_exit(128);
}
_exit(128);