fail_exit() wouldn't have exited. Fix the scope of #idef WITH_AUDIT.
+2007-12-27 Nicolas François <nicolas.francois@centraliens.net>
+
+ src/groupadd.c cleanup
+ * src/groupadd.c (fail_exit): When compiled without AUDIT support, if
+ the return code was E_SUCCESS, fail_exit() wouldn't have exited. Fix
+ the scope of #idef WITH_AUDIT.
+
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>
libmisc/copydir.c cleanup
if (is_shadow_grp)
sgr_unlock ();
#endif
- if (code != E_SUCCESS)
#ifdef WITH_AUDIT
+ if (code != E_SUCCESS)
audit_logger (AUDIT_USER_CHAUTHTOK, Prog, "adding group",
group_name, -1, 0);
#endif