Remove overridden home dir for local sourcing
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
# stuck in a loop)
|
# stuck in a loop)
|
||||||
|
|
||||||
if [ -f /var/home/"${USER}"/.bashrc ] && [ "${HOME}" != "/var/home/${USER}" ]; then
|
if [ -f /var/home/"${USER}"/.bashrc ] && [ "${HOME}" != "/var/home/${USER}" ]; then
|
||||||
HOME=/var/home/"${USER}" source /var/home/"${USER}"/.bashrc;
|
source /var/home/"${USER}"/.bashrc;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "${HOME}"/.bashrc ]; then
|
if [ -f "${HOME}"/.bashrc ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user