summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-09-11 17:09:39 -0400
committerJoey Hess <joey@kitenet.net>2010-09-11 17:09:39 -0400
commit7873b20f45567e35fd5c0b8a5adc8a38ce45a1ae (patch)
treeb5f60dc93609ad67207f2ac00bdb31272da5e248
parent60747c8dae14a12263124193572c7eb1177e475b (diff)
note about sudo behavior
-rwxr-xr-xetckeeper2
1 files changed, 2 insertions, 0 deletions
diff --git a/etckeeper b/etckeeper
index d7b94a0..2b2caee 100755
--- a/etckeeper
+++ b/etckeeper
@@ -22,6 +22,8 @@ if [ -z "$VCS" ]; then
fi
export VCS
+# Workaround for sudo before 1.7.4p4 which left HOME pointing at user's
+# home directory
HOME=~root
export HOME