shadow-maint / shadow

Upstream shadow tree
Other
290 stars 228 forks source link

src/passwd.c: Don't print the program name twice in a log entry #963

Closed alejandro-colomar closed 4 months ago

alejandro-colomar commented 5 months ago

OPENLOG() already sets the program name as the prefix.

This resulted in entries like:

$ journalctl 2>/dev/null | grep passwd Mar 03 01:09:47 debian passwd[140744]: passwd: can't view or modify password information for root

Fixes: 8e167d28afd6 ("[svn-upgrade] Integrating new upstream version, shadow (4.0.8)")

alejandro-colomar commented 4 months ago

v1b changes:

$ git range-diff 89c4da43..gh/prog2 alx/master..prog2 
1:  b401434a = 1:  879065fb src/passwd.c: Don't print the program name twice in a log entry