summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Smokeping.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 5a44b3e..a5f231c 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1956,8 +1956,8 @@ DOC
If you want to have alerts for this target and all targets below it go to a particular address
on top of the address already specified in the alert, you can add it here. This can be a comma separated list of items.
DOC
- slaves => { _re => '${KEYD_RE}(?:\s+${KEYD_RE})*',
- _re_error => 'slave1 [slave2]',
+ slaves => { _re => "${KEYD_RE}(:?\\s+${KEYD_RE})*",
+ _re_error => 'Use the format: slaves='.${KEYD_RE}.' [slave2]',
_doc => <<DOC },
The slave names must match the slaves you have setup in the slaves section.
DOC