tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit a46da1cc238be1740588c6751fa625e9adb71981
parent a6a784f1ef12ac43533eca6cc190652ab8f56089
Author: gdrooid <gdrooid@openmailbox.org>
Date:   Sun, 23 Nov 2014 22:47:03 +0100

Fix #164

Diffstat:
Mtomb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tomb b/tomb @@ -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