Blame SOURCES/shadow-4.1.5.1-logmsg.patch

9f13c6
Index: shadow-4.5/src/useradd.c
9f13c6
===================================================================
9f13c6
--- shadow-4.5.orig/src/useradd.c
9f13c6
+++ shadow-4.5/src/useradd.c
9f13c6
@@ -323,7 +323,7 @@ static void fail_exit (int code)
9f13c6
 	              user_name, AUDIT_NO_ID,
9f13c6
 	              SHADOW_AUDIT_FAILURE);
9f13c6
 #endif
9f13c6
-	SYSLOG ((LOG_INFO, "failed adding user '%s', data deleted", user_name));
9f13c6
+	SYSLOG ((LOG_INFO, "failed adding user '%s', exit code: %d", user_name, code));
9f13c6
 	exit (code);
9f13c6
 }
9f13c6