Use exit-status macros for compatibility 2/3

This commit is contained in:
Robin Gareus 2019-07-04 22:21:35 +02:00
parent dbc0c54ced
commit e76e18af96
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
6 changed files with 10 additions and 10 deletions

View file

@ -962,7 +962,7 @@ SystemExec::start (StdErrMode stderr_mode, const char *vfork_exec_wrapper)
char buf = 0;
(void) ::write (pok[1], &buf, 1);
close_fd (pok[1]);
exit (-1);
exit (EXIT_FAILURE);
return -1;
}