Syntax fix

This commit is contained in:
Salt 2022-11-28 15:59:36 -06:00
parent 330274bbc0
commit 5a5eb83345

View File

@ -264,7 +264,7 @@ _ps1bash() {
# Add hostname prefix in SSH sessions
unset _prefix
# Get the system hostname
if [ -f /etc/hostname ]
if [ -f /etc/hostname ]; then
_hostname="$(</etc/hostname)"
else
_hostname="$(hostname)"