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