Use idiomatic return in setsid(1)

This commit is contained in:
FRIGN 2015-03-09 00:25:54 +01:00
parent fba669da88
commit aa1a2391ba

View File

@ -39,5 +39,5 @@ main(int argc, char *argv[])
savederrno = errno;
weprintf("execvp %s:", argv[0]);
return (savederrno == ENOENT) ? 127 : 126;
return 126 + (savederrno == ENOENT);
}