* NEWS, src/groupmod.c: Fixed groupmod when configured with

--enable-account-tools-setuid.
This commit is contained in:
nekral-guest
2009-11-05 22:03:36 +00:00
parent e770e87035
commit 289913e5ff
3 changed files with 8 additions and 1 deletions

View File

@ -724,7 +724,7 @@ int main (int argc, char **argv)
{
struct passwd *pampw;
pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
if (NULL == pamh) {
if (NULL == pampw) {
fprintf (stderr,
_("%s: Cannot determine your user name.\n"),
Prog);