summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-05-23 17:07:06 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-05-23 17:07:06 +0200
commit28e6bba1e2a35f6bca8f27b5397e1c7fa2171fd4 (patch)
treec379fded6e7499800ff37dd5cd637792bef7750c /src/daemon
parent2d94511dd4eae5b19f73080a3bdc5a36605262bd (diff)
downloadabrt-28e6bba1e2a35f6bca8f27b5397e1c7fa2171fd4.zip
abrt-28e6bba1e2a35f6bca8f27b5397e1c7fa2171fd4.tar.gz
abrt-28e6bba1e2a35f6bca8f27b5397e1c7fa2171fd4.tar.xz
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 <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/abrt_event.conf6
-rw-r--r--src/daemon/abrt_event.conf.56
2 files changed, 6 insertions, 6 deletions
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
index 73bfd63..c378031 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 9ba3e48..0ef4c4c 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.