mirror of
https://github.com/aphrody-labs/apk-tools.git
synced 2026-10-17 12:45:46 +00:00
The condition ran the getpwuid() fallback when $HOME was set, throwing
away the value it had just read, and skipped it when $HOME was unset --
leaving p NULL for the following snprintf("%s/.netrc", p).
Fall back to getpwuid() when $HOME is not set, as the surrounding code
intends.
Signed-off-by: Tobias Koch <tobias.koch@aeltra.eu>