diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-03-17 18:01:22 -0300 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-10-19 10:56:54 +0200 |
commit | b7069282021aec7b486a1123c8521ac4e67250c0 (patch) | |
tree | 3c5a7d7e14ea5377183942342250385606a6cfce /support/sysvinit/halt.sh | |
parent | 9efa44579fd1f60a4c9ace264bb0b968ccb0f7ea (diff) |
librc: Use getpwuid instead of ${HOME} to get user's home directory.
Using ${HOME} works when the user runs any librc program from the shell,
but trying to invoke them from pam or similar, the variable is not set.
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'support/sysvinit/halt.sh')
0 files changed, 0 insertions, 0 deletions