i3 / i3lock

improved screen locker
https://i3wm.org/i3lock
BSD 3-Clause "New" or "Revised" License
921 stars 404 forks source link

confusing error message getpwuid() #178

Closed SegFault42 closed 5 years ago

SegFault42 commented 6 years ago

In issue #175 the function getpwuid() sets errno to zero while it returns null. I think that in this case it is not necessary to display errno because it is confusing.

Airblader commented 5 years ago

Since this PR is quite old (sorry for the lack of feedback), small and seems like an odd change I will close for now. If you'd still like to make this change, feel free to comment on my concern above and we can reopen.