forked from pool/shadow
b4a2128e54
OBS-URL: https://build.opensuse.org/request/show/398913 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=21
12 lines
353 B
Diff
12 lines
353 B
Diff
--- src/useradd.c
|
|
+++ src/useradd.c
|
|
@@ -320,7 +320,7 @@ static void fail_exit (int code)
|
|
user_name, AUDIT_NO_ID,
|
|
SHADOW_AUDIT_FAILURE);
|
|
#endif
|
|
- SYSLOG ((LOG_INFO, "failed adding user '%s', data deleted", user_name));
|
|
+ SYSLOG ((LOG_INFO, "failed adding user '%s', exit code: %d", user_name, code));
|
|
exit (code);
|
|
}
|
|
|