summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c4b71afb..15116640 100644
--- a/src/hooks/abrt-hook-ccpp.cpp
+++ b/src/hooks/abrt-hook-ccpp.cpp
@@ -388,7 +388,7 @@ int main(int argc, char** argv)
close(fd);
}
- const char *last_slash = strrchr(executable, '/');
+ const char *last_slash = strrchr(executable, '/');
if (last_slash && strncmp(++last_slash, "abrt", 4))
{
/* If abrtd/abrt-foo crashes, we don't want to create a _directory_,