Skip to content
Snippets Groups Projects
Commit db5baecc authored by Danny Auble's avatar Danny Auble
Browse files

remove debug statements

parent 3ab5ce61
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,6 @@ int main(int argc, char *argv[]) ...@@ -192,7 +192,6 @@ int main(int argc, char *argv[])
if (errno == EINTR) if (errno == EINTR)
continue; continue;
} }
info("got exit code %u %d", rc_pid, WEXITSTATUS(status));
errnum = errno; errnum = errno;
if (rc_pid == -1 && errnum != EINTR) if (rc_pid == -1 && errnum != EINTR)
error("waitpid for %s failed: %m", command_argv[0]); error("waitpid for %s failed: %m", command_argv[0]);
...@@ -223,12 +222,10 @@ relinquish: ...@@ -223,12 +222,10 @@ relinquish:
*/ */
rc = 1; rc = 1;
if (rc_pid != -1) { if (rc_pid != -1) {
info("here");
if (WIFEXITED(status)) { if (WIFEXITED(status)) {
info("here2");
rc = WEXITSTATUS(status); rc = WEXITSTATUS(status);
} else if (WIFSIGNALED(status)) { } else if (WIFSIGNALED(status)) {
info("here3");
verbose("Command \"%s\" was terminated by signal %d", verbose("Command \"%s\" was terminated by signal %d",
command_argv[0], WTERMSIG(status)); command_argv[0], WTERMSIG(status));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment