From d39831a3c4296fe4f56bf9b7e48bb443ad9239fc Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 23 Jan 2008 15:05:19 +0000 Subject: allow empty slaves list to remove inherited slave list --- lib/Smokeping.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index e142f78..0eff9b5 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -2175,7 +2175,7 @@ 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})*", + slaves => { _re => "(${KEYD_RE}(?:\\s+${KEYD_RE})*)?", _re_error => 'Use the format: slaves='.${KEYD_RE}.' [slave2]', _doc => <