summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorbrapru <brapru@pm.me>2021-05-29 08:40:16 -0400
committerLinus Groh <mail@linusgroh.de>2021-05-30 17:42:03 +0100
commitaf8b7248c877663879e3e114a7150c78e8456fa4 (patch)
tree9e82021b3b2d32731d143a0c513f8b812d667b27 /Userland/Utilities
parent54578ec5d455e2ecc366865b5eaab039b7e151fa (diff)
downloadserenity-af8b7248c877663879e3e114a7150c78e8456fa4.zip
LibC: Allow empty spwd members when writing shadow entries via putspent
Previously there was no way to output an empty value into the shadow file entries when the spwd members were disabled. This would cause new user entries to the shadow file to be cluttered with disabled values. This commit checks if the spwd member value is diabled (-1) and will output as appropriate.
Diffstat (limited to 'Userland/Utilities')
0 files changed, 0 insertions, 0 deletions