Syntax fix
This commit is contained in:
parent
330274bbc0
commit
5a5eb83345
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user