tFix #164 - tomb - the crypto undertaker (HTM) git clone git://parazyd.org/tomb.git (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit a46da1cc238be1740588c6751fa625e9adb71981 (DIR) parent a6a784f1ef12ac43533eca6cc190652ab8f56089 (HTM) Author: gdrooid <gdrooid@openmailbox.org> Date: Sun, 23 Nov 2014 22:47:03 +0100 Fix #164 Diffstat: M tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/tomb b/tomb t@@ -192,7 +192,7 @@ _whoami() { } # Force HOME to _USER's HOME if necessary - local home=$(awk -F: "/$_USER/ { print \$6 }" /etc/passwd 2>/dev/null) + local home="$(awk -F: "/^$_USER/ { print \$6 }" /etc/passwd 2>/dev/null)" [[ $home == $HOME ]] || { _verbose "Updating HOME to match user's: ::1 home:: (was ::2 HOME::)" \ $home $HOME