Skip to content

Commit

Permalink
ProcessSpawnImpl(): remove redundant _exit(128);
Browse files Browse the repository at this point in the history
Now this if doesn’t _exit(128) by itself, but "return" to the outer if which immediately _exit(128)s.
  • Loading branch information
Al2Klimov authored Mar 2, 2023
1 parent cf51705 commit 55930c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/base/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 55930c8

Please sign in to comment.