diff options
Diffstat (limited to 'src/hooks/abrt-hook-ccpp.cpp')
-rw-r--r-- | src/hooks/abrt-hook-ccpp.cpp | 2 |
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, |