summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-07-17 17:24:07 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-17 17:24:07 +0200
commit6f60008bc4ea3aa93c969b0e0d48d5535ea11d9f (patch)
treed2ab535b2858fbde2cac620e431e1aff54471cfc /Makefile
parentf92283f5b96e55f727a05cd0f1c61dc156dc7e6a (diff)
downloadabuild-6f60008bc4ea3aa93c969b0e0d48d5535ea11d9f.tar.gz
abuild-6f60008bc4ea3aa93c969b0e0d48d5535ea11d9f.tar.bz2
abuild-6f60008bc4ea3aa93c969b0e0d48d5535ea11d9f.tar.xz
abuild-6f60008bc4ea3aa93c969b0e0d48d5535ea11d9f.zip
abuild-sudo: fix segfault when there are no controlling termv3.0.0_rc4
if there are no controlling reminal getlogin() may return NULL. We use getpwuid() to try figure out the username and verify that we actually have a username before we set environment USER.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions