diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-05-13 13:13:36 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-05-13 13:13:36 +0200 |
| commit | fda0a254ad6ba177142b0f72ad24b4f1db90ef37 (patch) | |
| tree | 99b481d4e90b646f147ddafd6382a30214628f4e /src/Daemon/Daemon.cpp | |
| parent | 6e3f5a24828a6a7cbf37e4771d1a7d3cf2d3b306 (diff) | |
| parent | b816d5f8da0047f80eafe2f3cfa048574cae94e9 (diff) | |
| download | abrt-fda0a254ad6ba177142b0f72ad24b4f1db90ef37.tar.gz abrt-fda0a254ad6ba177142b0f72ad24b4f1db90ef37.tar.xz abrt-fda0a254ad6ba177142b0f72ad24b4f1db90ef37.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Daemon/Daemon.cpp')
| -rw-r--r-- | src/Daemon/Daemon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index 70fd9a10..98b6a5be 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -41,6 +41,7 @@ #include "CrashWatcher.h" #include "DebugDump.h" #include "Daemon.h" +#include "dumpsocket.h" using namespace std; @@ -844,6 +845,9 @@ int main(int argc, char** argv) throw 1; pidfile_created = true; + /* Open socket to receive new crashes. */ + dumpsocket_init(); + /* Note: this already may process a few dbus messages, * therefore it should be the last thing to initialize. */ @@ -895,6 +899,7 @@ int main(int argc, char** argv) /* Error or INT/TERM. Clean up, in reverse order. * Take care to not undo things we did not do. */ + dumpsocket_shutdown(); if (pidfile_created) unlink(VAR_RUN_PIDFILE); if (lockfile_created) |
