diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-04 02:02:47 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-04 02:02:47 +0200 |
commit | 8641b1c14eebdd32312224a790b8026a52d2c039 (patch) | |
tree | 08fc22d0446a442d9b7e3f3b4ee134ec461253f5 /src/Applet/CCApplet.cpp | |
parent | 497a6ecd71745f28ec4dda3bfc1d1d6efddc3e18 (diff) | |
download | abrt-8641b1c14eebdd32312224a790b8026a52d2c039.tar.gz abrt-8641b1c14eebdd32312224a790b8026a52d2c039.tar.xz abrt-8641b1c14eebdd32312224a790b8026a52d2c039.zip |
abrt-applet: reset SIGCHLD before launching abrt-gui
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Applet/CCApplet.cpp')
-rw-r--r-- | src/Applet/CCApplet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Applet/CCApplet.cpp b/src/Applet/CCApplet.cpp index 90df3fca..235441f4 100644 --- a/src/Applet/CCApplet.cpp +++ b/src/Applet/CCApplet.cpp @@ -123,6 +123,7 @@ void CApplet::OnAppletActivate_CB(GtkStatusIcon *status_icon,gpointer user_data) std::cerr << "vfork failed\n"; if (pid == 0) { /* child */ + signal(SIGCHLD, SIG_DFL); /* undo SIG_IGN in abrt-applet */ execlp("abrt-gui", "abrt-gui", (char*) NULL); std::cerr << "can't exec abrt-gui\n"; exit(1); |