diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-07 12:37:45 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-07 12:37:45 +0100 |
| commit | 6b36135970dd9ba4694e626e3fbd8166c64d8cdc (patch) | |
| tree | 09468c7403bdd77ceddb02ac3571e83a6a504406 /lib/Plugins/Mailx.cpp | |
| parent | 9fa0918b822b4d81a8adf7392c4e18e87d351872 (diff) | |
| download | abrt-6b36135970dd9ba4694e626e3fbd8166c64d8cdc.tar.gz abrt-6b36135970dd9ba4694e626e3fbd8166c64d8cdc.tar.xz abrt-6b36135970dd9ba4694e626e3fbd8166c64d8cdc.zip | |
ccpp: add a possibility to disable backtrace generation
+ assorted minor tweaks
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
| -rw-r--r-- | lib/Plugins/Mailx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp index 6904c16..70eddb8 100644 --- a/lib/Plugins/Mailx.cpp +++ b/lib/Plugins/Mailx.cpp @@ -68,7 +68,7 @@ static void exec_and_feed_input(uid_t uid, const char* pText, char **pArgs) safe_write(pipein[1], pText, strlen(pText)); close(pipein[1]); - wait(NULL); /* wait for command completion */ + waitpid(child, NULL, 0); /* wait for command completion */ } static char** append_str_to_vector(char **vec, unsigned &size, const char *str) |
