diff options
| author | Michal Toman <mtoman@redhat.com> | 2010-10-19 10:57:16 +0200 |
|---|---|---|
| committer | Michal Toman <mtoman@redhat.com> | 2010-10-19 10:57:16 +0200 |
| commit | 8ccb8e59a6f295481b1d0b664701bb421b041e28 (patch) | |
| tree | b05ba340714831c049dc830c5d6db0b9f313d46f /lib/plugins/SOSreport.cpp | |
| parent | 2ba325a217d4d08fb867d1197a89c53f49ab85d5 (diff) | |
| parent | 41473dbc4a685a4e33debaf2a9103da8bcd6429f (diff) | |
| download | abrt-8ccb8e59a6f295481b1d0b664701bb421b041e28.tar.gz abrt-8ccb8e59a6f295481b1d0b664701bb421b041e28.tar.xz abrt-8ccb8e59a6f295481b1d0b664701bb421b041e28.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/plugins/SOSreport.cpp')
| -rw-r--r-- | lib/plugins/SOSreport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/SOSreport.cpp b/lib/plugins/SOSreport.cpp index 5c1b658a..36a768fd 100644 --- a/lib/plugins/SOSreport.cpp +++ b/lib/plugins/SOSreport.cpp @@ -50,8 +50,8 @@ void CActionSOSreport::Run(const char *pActionDir, const char *pArgs, int force) { if (!force) { - struct dump_dir *dd = dd_init(); - if (!dd_opendir(dd, pActionDir, DD_CLOSE_ON_OPEN_ERR)) + struct dump_dir *dd = dd_opendir(pActionDir, /*flags:*/ 0); + if (!dd) return; bool bt_exists = dd_exist(dd, "sosreport.tar.bz2") || dd_exist(dd, "sosreport.tar.xz"); |
