Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
login: use parse_uid() when unmounting user runtime directory
When unmounting user runtime directory, only UID is necessary, and the corresponding user may not exist anymore. This makes first try to parse the input by parse_uid(), and only if it fails, prase the input by get_user_creds(). Fixes #9541.
- Loading branch information
1 parent
99352de
commit 86d18f3
Showing
1 changed file
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters