Merge pull request #68 from akimd/fix-c-switch

fix C conformance
This commit is contained in:
Thomas Orozco 2016-12-18 20:16:16 +01:00 committed by GitHub
commit c6e0058046
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ int spawn(const signal_configuration_t* const sigconf_ptr, char* const argv[], i
// and exit with the correct return status for the error that we encountered
// See: http://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF
int status = 1;
switch errno {
switch (errno) {
case ENOENT:
status = 127;
break;