From 27153ae92bf46980f76a199f2a7ea4f08f2d3249 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 8 Mar 2009 23:29:46 +0000 Subject: [PATCH] * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef SHADOWGRP. --- ChangeLog | 7 ++++++- src/gpasswd.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 43203efe..6e82ab60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ -2009-03-07 Nicolas François +2009-03-09 Nicolas François + + * src/gpasswd.c: log_gpasswd_success_gshadow only exists ifdef + SHADOWGRP. + +2009-03-08 Nicolas François * libmisc/getlong.c: Make sure the getlong argument is not empty. * libmisc/get_gid.c, libmisc/get_uid.c, libmisc/Makefile.am, diff --git a/src/gpasswd.c b/src/gpasswd.c index 861820c5..413260e3 100644 --- a/src/gpasswd.c +++ b/src/gpasswd.c @@ -695,7 +695,9 @@ static void close_files (void) log_gpasswd_success_system (NULL); del_cleanup (log_gpasswd_success_group); +#ifdef SHADOWGRP del_cleanup (log_gpasswd_success_gshadow); +#endif } /*