]> git.proxmox.com Git - mirror_frr.git/commit - vtysh/vtysh_user.c
vtysh: Use HOME environment variable to get homedir and only fallback to passed entry...
authorMartin Winter <mwinter@opensourcerouting.org>
Fri, 20 Jan 2017 19:48:06 +0000 (02:48 +0700)
committerMartin Winter <mwinter@opensourcerouting.org>
Wed, 25 Jan 2017 17:44:31 +0000 (00:44 +0700)
commitf38e9e49f5dcab8ff40118b8020fbb086ce03ccb
tree446ba643d56e48a25aac5dc94aad19c44331aa0c
parent87d79a9f79015421d8bf7cd07f8486a2bae15ef2
vtysh: Use HOME environment variable to get homedir and only fallback to passed entry if no HOME is defined

Snap packages have a local HOME defined inside the SNAP container, but don't get access to passwd entry.

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
vtysh/vtysh_user.c