client: Remove the strerror() call from switcher_exec with regards to the task_debug output. For the things switcher does the exit code is not an errno value.

This commit is contained in:
Rom Walton 2014-07-31 20:46:44 -04:00
parent daf5ddd580
commit 917bf6762c
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ int switcher_exec(const char *util_filename, const char* cmdline) {
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] failure in switcher_exec");
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] switcher: %s", util_path);
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] command: %s", command);
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] exit code: %s (%d)", strerror(retval), retval);
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] exit code: %d", retval);
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] stdout: %s", output_out.c_str());
msg_printf(0, MSG_INTERNAL_ERROR, "[task_debug] stderr: %s", output_err.c_str());
}