- use findmnt to get mountpoint abrt_harvest_vmcore.py - correct handling of DebuginfoLocation in a-a-install-debuginfo - koops: do not assume version has 3 levels - a-dump-journal-xorg: add '_COMM=gnome-shell' to journal filter Resolves: #1334084, #1343826 Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
28 lines
977 B
Diff
28 lines
977 B
Diff
From 5122aef69fb303022609dc6ca53a11e30842ad6e Mon Sep 17 00:00:00 2001
|
|
From: Wes Lindauer <wesley.lindauer@gmail.com>
|
|
Date: Wed, 13 Jul 2016 16:20:51 -0400
|
|
Subject: [PATCH] abrt-hook-ccpp: Fix mismatching argument
|
|
|
|
The calling code in abrt-install-ccpp-hook was passing in --test-config.
|
|
This was only working due to the misuse of strcmp, so it was accepting
|
|
any string other than --config-test.
|
|
---
|
|
src/hooks/abrt-hook-ccpp.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
|
|
index 10f137b..9e82ff9 100644
|
|
--- a/src/hooks/abrt-hook-ccpp.c
|
|
+++ b/src/hooks/abrt-hook-ccpp.c
|
|
@@ -656,7 +656,7 @@ int main(int argc, char** argv)
|
|
free_map_string(settings);
|
|
}
|
|
|
|
- if (argc == 2 && strcmp(argv[1], "--config-test"))
|
|
+ if (argc == 2 && !strcmp(argv[1], "--test-config"))
|
|
return test_configuration(setting_SaveFullCore, setting_CreateCoreBacktrace);
|
|
|
|
if (argc < 8)
|
|
--
|
|
2.7.4
|
|
|