summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-10-24 11:42:29 -0600
committerEric Blake <ebb9@byu.net>2008-10-24 11:44:48 -0600
commitb705e9a9e71546f3da2d3f5f966363e62b74d057 (patch)
tree2d53ae7ab7d3efb58508ef721b62654874295a03 /src
parentb3677e5e383103bf1764b2c8a9329b1c17934b24 (diff)
downloadcoreutils-b705e9a9e71546f3da2d3f5f966363e62b74d057.tar.xz
group-list: avoid compiler warning
* src/group-list.c (print_group_list) [!HAVE_GETGROUPS]: Always return value.
Diffstat (limited to 'src')
-rw-r--r--src/group-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group-list.c b/src/group-list.c
index 96438d9b8..3547ed669 100644
--- a/src/group-list.c
+++ b/src/group-list.c
@@ -83,9 +83,9 @@ print_group_list (const char *username,
ok = false;
}
free (groups);
- return ok;
}
#endif /* HAVE_GETGROUPS */
+ return ok;
}