]> git.ipfire.org Git - thirdparty/shadow.git/commit
usermod: only unlock on close_files if we actually locked them
authorPat Riehecky <riehecky@fnal.gov>
Tue, 10 Mar 2026 13:37:29 +0000 (08:37 -0500)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 16 Mar 2026 23:49:08 +0000 (00:49 +0100)
commite65380f5184dcdc5a42bd071815fee581dec2515
tree54e400e05d5a8e53a040ef33d53f4db6991b12ad
parent1e0f5299272bfbfa57cb0d01fd5271cc5b285634
usermod: only unlock on close_files if we actually locked them

Reviewed-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Pat Riehecky <riehecky@fnal.gov>
src/usermod.c