Code

Remove  
[gosa.git] / gosa-core / setup / class_setupStep_Finish.inc
index 5fe91f8cee2418c980e7772fc9ed76189991bf80..a64fbcd05923e6b33d260f267773b05c56558737 100644 (file)
@@ -53,8 +53,12 @@ class Step_Finish extends setup_step
   function execute()
   {
 
-    $info= posix_getgrgid(posix_getgid());
-    $webgroup = $info['name'];
+    if(!function_exists("posix_getgrgid")){
+      $webgroup = "";
+    }else{
+      $info= posix_getgrgid(posix_getgid());
+      $webgroup = $info['name'];
+    }
 
     /* Check if there is currently an active gosa.conf 
      */