diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-01-25 18:52:53 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-01-25 18:52:53 +0100 |
commit | 08da44369e0b6fa281bbe41afa4ba9f95718c041 (patch) | |
tree | b2bd3f32ca7ef8942967283736f36a638360e3e2 | |
parent | 8af975edfba64c92564d9cbfcee611679d918624 (diff) |
Do not throw warning when encountering an empty contact group
-rw-r--r-- | Changelog | 1 | ||||
-rwxr-xr-x | bin/icli | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ git HEAD * Remove autodie dependency, improve error messages * Allow build-item specification of icinga paths (perl Build.PL --icli-xyz-file=..., see README) + * Do not throw warnings when encountering empty contact groups icli 0.46 - Sun Sep 29 2013 @@ -373,7 +373,7 @@ sub read_objects_line { } when ('contactgroup') { ${$ref}->{contactgroups}->{ $cache->{contactgroup_name} } - = [ split( m{, *}, $cache->{members} ) ]; + = [ split( m{, *}, $cache->{members} // q{} ) ]; } when ( [ |