diff options
Diffstat (limited to 'recipes/base-files/base-files/shr/profile')
-rw-r--r-- | recipes/base-files/base-files/shr/profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/base-files/base-files/shr/profile b/recipes/base-files/base-files/shr/profile index ea5e2705e3..05e8490fd8 100644 --- a/recipes/base-files/base-files/shr/profile +++ b/recipes/base-files/base-files/shr/profile @@ -39,7 +39,7 @@ export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \\$\[\033[00m\] " if [ "$DISPLAY" = "" ] ; then export DISPLAY=localhost:0 fi -if [ "$HOME" = "" ] ; then +if [ "$HOME" = "" -o "$HOME" = "/" ] ; then export HOME=/home/root fi export HISTFILESIZE=1000 |