Merge branch 'jc/run-command-report-exec-failure-fix' into maint
A recent update accidentally squelched an error message when the run_command API failed to run a missing command, which has been corrected. * jc/run-command-report-exec-failure-fix: run-command: report exec failure
This commit is contained in:
@ -728,6 +728,8 @@ fail_pipe:
|
||||
if (prepare_cmd(&argv, cmd) < 0) {
|
||||
failed_errno = errno;
|
||||
cmd->pid = -1;
|
||||
if (!cmd->silent_exec_failure)
|
||||
error_errno("cannot run %s", cmd->argv[0]);
|
||||
goto end_of_spawn;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user