From 28e6bba1e2a35f6bca8f27b5397e1c7fa2171fd4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 23 May 2011 17:07:06 +0200 Subject: run_event: support VAR~=REGEX match This makes in possible to configure analyze_xsession_errors to appear only for X-related stuff Signed-off-by: Denys Vlasenko --- src/daemon/abrt_event.conf | 6 +++--- src/daemon/abrt_event.conf.5 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf index 73bfd63a..c378031d 100644 --- a/src/daemon/abrt_event.conf +++ b/src/daemon/abrt_event.conf @@ -23,9 +23,9 @@ # Rules specify which programs to run on the dump directory. # Each rule may have conditions to be checked before the program is run. # -# Conditions have form VAR=VAL, where VAR is either word "EVENT" -# or a name of dump directory element to be checked (for example, -# "executable", "package", hostname" etc). +# Conditions have form VAR=VAL or VAL~=REGEX, where VAR is either +# word "EVENT" or a name of dump directory element to be checked +# (for example, "executable", "package", hostname" etc). # # If all conditions match, the remaining part of the rule # (the "program" part) is run in the shell. diff --git a/src/daemon/abrt_event.conf.5 b/src/daemon/abrt_event.conf.5 index 9ba3e480..0ef4c4c7 100644 --- a/src/daemon/abrt_event.conf.5 +++ b/src/daemon/abrt_event.conf.5 @@ -29,9 +29,9 @@ even a multi-line rule (no need to comment out every line). Rules specify which programs to run on the dump directory. Each rule may have conditions to be checked before the program is run. .P -Conditions have form VAR=VAL, where VAR is either word "EVENT" -or a name of dump directory element to be checked (for example, -"executable", "package", hostname" etc). +Conditions have form VAR=VAL or VAL~=REGEX, where VAR is either +word "EVENT" or a name of dump directory element to be checked +(for example, "executable", "package", hostname" etc). .P If all conditions match, the remaining part of the rule (the "program" part) is run in the shell. -- cgit