commit | 3a3b1764af9facd762abe6ffc2ebc379186962a1 | [log] [tgz] |
---|---|---|
author | Benno Schulenberg <bensberg@justemail.net> | Fri Jan 22 16:10:36 2016 +0000 |
committer | Benno Schulenberg <bensberg@justemail.net> | Fri Jan 22 16:10:36 2016 +0000 |
tree | 82bcd8831ee2a43b5f588c81de2e48e89b9d5cae | |
parent | 0af2f9e55c2614f2df58abd5944c837656b914ad [diff] |
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