projects
/
external
/
corewatcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82321fc
)
Also retain the text-version of the backtrace when config file requests.
author
Auke Kok
<auke-jan.h.kok@intel.com>
Wed, 2 Feb 2011 16:13:41 +0000
(11:13 -0500)
committer
Auke Kok
<auke-jan.h.kok@intel.com>
Wed, 2 Feb 2011 16:13:41 +0000
(11:13 -0500)
submit.c
patch
|
blob
|
history
diff --git
a/submit.c
b/submit.c
index
2b52cd1
..
1ede618
100644
(file)
--- a/
submit.c
+++ b/
submit.c
@@
-36,6
+36,8
@@
#include "corewatcher.h"
+extern int do_unlink;
+
/*
* we keep track of 16 checksums of the last submitted oopses; this allows us to
@@
-146,7
+148,8
@@
void write_detail_file(void)
void unlink_detail_file(void)
{
if (detail_filename) {
- unlink(detail_filename);
+ if (do_unlink)
+ unlink(detail_filename);
free(detail_filename);
}
}