summaryrefslogtreecommitdiffstats
path: root/src/hooks
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-02-01 16:04:30 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-02-01 16:04:30 +0100
commit55ae0eaea8684aa78089bbd0c2116e0c8cb25585 (patch)
tree1f26dd846eb28b0280f5b4e33ed90fe777c312c5 /src/hooks
parent17a29f77ddfbb15beac9554a54892994f204b99d (diff)
downloadabrt-55ae0eaea8684aa78089bbd0c2116e0c8cb25585.tar.gz
abrt-55ae0eaea8684aa78089bbd0c2116e0c8cb25585.tar.xz
abrt-55ae0eaea8684aa78089bbd0c2116e0c8cb25585.zip
abrt-cli -r DIR: copy non-writable DIR into $HOME/abrt/spool
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/hooks')
-rw-r--r--src/hooks/abrt-hook-ccpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
index c9327723..dc95d6dc 100644
--- a/src/hooks/abrt-hook-ccpp.c
+++ b/src/hooks/abrt-hook-ccpp.c
@@ -497,6 +497,7 @@ int main(int argc, char** argv)
struct dump_dir *dd = dd_create(path, uid);
if (dd)
{
+ dd_create_basic_files(dd, uid);
char *cmdline = get_cmdline(pid); /* never NULL */
char *reason = xasprintf("Process %s was killed by signal %s (SIG%s)", executable, signal_str, signame ? signame : signal_str);
dd_save_text(dd, FILENAME_ANALYZER, "CCpp");