group-list: avoid compiler warning
authorEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 17:42:29 +0000 (11:42 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 24 Oct 2008 17:44:48 +0000 (11:44 -0600)
* src/group-list.c (print_group_list) [!HAVE_GETGROUPS]: Always
return value.

src/group-list.c

index 96438d9..3547ed6 100644 (file)
@@ -83,9 +83,9 @@ print_group_list (const char *username,
             ok = false;
         }
     free (groups);
-    return ok;
   }
 #endif /* HAVE_GETGROUPS */
+  return ok;
 }