mirror of https://github.com/Icinga/icinga2.git
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:
parent
cf517050bc
commit
55930c8042
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue