From 056c32dabd219d940b23f517dafad8597361ba51 Mon Sep 17 00:00:00 2001 From: opensides Date: Mon, 15 Feb 2010 22:19:23 +0000 Subject: [PATCH] - Closes #826 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15629 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/nagios/contrib/goNagios.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/nagios/contrib/goNagios.pl b/gosa-plugins/nagios/contrib/goNagios.pl index 528d41db8..39205e240 100755 --- a/gosa-plugins/nagios/contrib/goNagios.pl +++ b/gosa-plugins/nagios/contrib/goNagios.pl @@ -271,8 +271,12 @@ sub modiffile_group() $text.="\n\tmembers \t\t"; while(defined($groupmembers[$i][$j])) { - $text.=$groupmembers[$i][$j]." "; + $text.=$groupmembers[$i][$j]; $j++; + + if(defined($groupmembers[$i][$j])) { + $text.=","; + } } $text.="\n}\n\n"; } -- 2.30.2