Code

- Closes #826
authoropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Feb 2010 22:19:23 +0000 (22:19 +0000)
committeropensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Feb 2010 22:19:23 +0000 (22:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15629 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/nagios/contrib/goNagios.pl

index 528d41db891c4f78503809c2944a08cef38aa284..39205e2409d732d2fa03223d4853ebc3abf30477 100755 (executable)
@@ -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";
        }