path-lookup: try harder acquiring them $HOME of a user
authorLennart Poettering <lennart@poettering.net>
Fri, 10 Feb 2017 14:16:11 +0000 (15:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 10 Feb 2017 14:16:11 +0000 (15:16 +0100)
commitc49970743eb51ab27b4b021bc64412ac74af83af
treee3efb1d5265387e826e1565f5480fbe9be28adc7
parentd0fd66a379ccf0096389faf4490a9ba986ef3458
path-lookup: try harder acquiring them $HOME of a user

Let's use get_home_dir() for figuring out the home directory, so that
there's a good chance we succeed figuring out unit locations even if
$HOME isn't set.

Fixes: #5260
src/shared/path-lookup.c