From ee80fb98f0c7995e1e4f8b0aae13c23ede012bea Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Tue, 9 Jun 2015 08:10:34 +0200 Subject: [PATCH] ccpp: correct capitalization of log labels I broke it in commit fbea8811e93bed6c8fe665b47feeb9bd1cc7b755 Signed-off-by: Jakub Filak --- src/plugins/ccpp_event.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/ccpp_event.conf b/src/plugins/ccpp_event.conf index 227776d..84eecf1 100644 --- a/src/plugins/ccpp_event.conf +++ b/src/plugins/ccpp_event.conf @@ -32,7 +32,7 @@ EVENT=post-create analyzer=CCpp uid=`cat $DUMP_DIR/uid` && { user_log=`journalctl -b --since=-3m -n 99 _COMM="$base_executable" _UID="$uid"` && - test -n "$user_log" && printf "User logs:\n%s\n" "$user_log" >$DUMP_DIR/var_log_messages + test -n "$user_log" && printf "User Logs:\n%s\n" "$user_log" >$DUMP_DIR/var_log_messages # Do not use '&&' here because if $user_log is the empty string # then the script does not continue to get the system logs { @@ -40,7 +40,7 @@ EVENT=post-create analyzer=CCpp # system logs with unprivileged users -> bugzilla.redhat.com/1212868 false && system_log=$log`journalctl -b --since=-3m --system -n 99 _COMM="$base_executable"` && - test -n "$system_log" && printf "System logs:\n%s\n" "$system_log" >>$DUMP_DIR/var_log_messages + test -n "$system_log" && printf "System Logs:\n%s\n" "$system_log" >>$DUMP_DIR/var_log_messages # Always exit with true here, because the false at # the beginning would cause the post-create hook to remove # the current problem directory. -- 2.1.0