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