From 03d504e82b3e6c77c0b59af415ff740de1b483f3 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 15 Oct 2007 07:44:40 +0000 Subject: I wonder how it did work at all like this --- lib/Smokeping.pm | 4 ++-- 1 file 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 => <