Merge pull request #9717 from Icinga/Al2Klimov-patch-4

ProcessSpawnImpl(): remove redundant _exit(128);
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-03-02 16:47:50 +01:00 committed by GitHub
commit ca3c24b317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);