* OK to return. Otherwise, we just pass along the status code.
*/
status = run_command_v_opt(argv, 0);
- if (status != -ERR_RUN_COMMAND_EXEC) {
- if (status < 0)
- die("unable to run '%s'", argv[0]);
+ if (status >= 0 || errno != ENOENT)
exit(status);
- }
- errno = ENOENT; /* as if we called execvp */
argv[0] = tmp;