diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-05-16 12:08:41 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-05-16 12:08:41 +0200 |
commit | 803c173dbc90ace7332b585ec4ce4b866039b4dd (patch) | |
tree | cd5def454911a2ea610dc9f4e3d0515a84bdcf8a /src/lib | |
parent | fe8ca6b0f3d19e9c6fee2ade44d5e0f5a0258338 (diff) | |
download | abrt-803c173dbc90ace7332b585ec4ce4b866039b4dd.tar.gz abrt-803c173dbc90ace7332b585ec4ce4b866039b4dd.tar.xz abrt-803c173dbc90ace7332b585ec4ce4b866039b4dd.zip |
removed accidentally pushed code
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/report.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/lib/report.c b/src/lib/report.c index 2f7dd0fd..a3ba6e96 100644 --- a/src/lib/report.c +++ b/src/lib/report.c @@ -42,34 +42,6 @@ int analyze_and_report_dir(const char* dirname) execlp("bug-reporting-wizard", "bug-reporting-wizard", "--", dirname, NULL); perror_msg_and_die("Can't execute %s", "bug-reporting-wizard"); } - else if(pid > 0) - { - int status = 0; - pid_t p = waitpid(pid, &status, WUNTRACED); - if(p == -1) - { - error_msg("can't waitpid"); - return EXIT_FAILURE; - } - if (WIFEXITED(status)) - { - VERB2 log("reporting finished with exitcode: status=%d\n", WEXITSTATUS(status)); - return WEXITSTATUS(status); - } - else if (WIFSIGNALED(status)) - { - VERB2 log("reporting killed by signal %d\n", WTERMSIG(status)); - } - else if (WIFSTOPPED(status)) - { - /* should parent continue when the reporting is stopped??*/ - VERB2 log("reporting stopped by signal %d\n", WSTOPSIG(status)); - } - else if (WIFCONTINUED(status)) - { - VERB2 log("continued\n"); - } - } return 0; } |