]> git.wh0rd.org Git - nano.git/commit
Not using $HOME when we're root, because some sudos don't filter it out
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 22 Jan 2016 16:10:36 +0000 (16:10 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Fri, 22 Jan 2016 16:10:36 +0000 (16:10 +0000)
commit3a3b1764af9facd762abe6ffc2ebc379186962a1
tree82bcd8831ee2a43b5f588c81de2e48e89b9d5cae
parent0af2f9e55c2614f2df58abd5944c837656b914ad
Not using $HOME when we're root, because some sudos don't filter it out
of the environment (which can lead to a root-owned .nano/ directory in
the invoking user's home directory).  This addresses Ubuntu bug #1471459.
(See https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1471459.)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
ChangeLog
src/utils.c