Fixed unary operator error
This commit is contained in:
parent
d9a5f57aaa
commit
e7562bf01f
@ -20,7 +20,7 @@ RHOSTNAME="<HOSTNAME>"
|
||||
RDOMAIN="<DOMAIN>"
|
||||
RCOLOR="<RCOLOR>"
|
||||
|
||||
if [ $RHOSTNAME == "<HOSTNAME"">" ]; then
|
||||
if [ "$RHOSTNAME" == "<HOSTNAME"">" ]; then
|
||||
RHOSTNAME="\u"
|
||||
RDOMAIN="@"$( hostname -s )
|
||||
RCOLOR=$(( $RANDOM * 6 / 32767 + 1 ))
|
||||
|
Loading…
Reference in New Issue
Block a user