summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-10-14 16:36:59 +0200
committerKarel Klic <kklic@redhat.com>2010-10-14 16:36:59 +0200
commit99679e4b058fcb76831f2f9d5f59c4e765bb6109 (patch)
tree15a2d5cf38e3c051c7bd96a2e2ec73f13680f9ef
parent43c74514d0faa39d343a26f39f31ec7689334b7b (diff)
parent98c21e88d96f3e45c5f47ac8a1b9ef7a4b523566 (diff)
downloadabrt-99679e4b058fcb76831f2f9d5f59c4e765bb6109.tar.gz
abrt-99679e4b058fcb76831f2f9d5f59c4e765bb6109.tar.xz
abrt-99679e4b058fcb76831f2f9d5f59c4e765bb6109.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt into retrace
-rw-r--r--src/hooks/abrt-hook-ccpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/abrt-hook-ccpp.cpp b/src/hooks/abrt-hook-ccpp.cpp
index 15116640..279ac5db 100644
--- a/src/hooks/abrt-hook-ccpp.cpp
+++ b/src/hooks/abrt-hook-ccpp.cpp
@@ -389,7 +389,7 @@ int main(int argc, char** argv)
}
const char *last_slash = strrchr(executable, '/');
- if (last_slash && strncmp(++last_slash, "abrt", 4))
+ if (last_slash && strncmp(++last_slash, "abrt", 4) == 0)
{
/* If abrtd/abrt-foo crashes, we don't want to create a _directory_,
* since that can make new copy of abrtd to process it,