mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-19 05:28:29 +00:00
fixed format of checkupdate output
This commit is contained in:
parent
8582efc4be
commit
b94be72858
@ -223,19 +223,18 @@ doUpdate() {
|
||||
#
|
||||
printStatus(){
|
||||
if isTheServerRunning ;then
|
||||
echo -e "$NORMAL" "Server running:" "$GREEN" "Yes"
|
||||
echo -e "$NORMAL" "Server running:" "$GREEN" "Yes" "$NORMAL"
|
||||
else
|
||||
echo -e "$NORMAL" "Server running:" "$RED" "No"
|
||||
echo -e "$NORMAL" "Server running:" "$RED" "No" "$NORMAL"
|
||||
fi
|
||||
|
||||
if isTheServerDown ;then
|
||||
echo -e "$NORMAL" "Server online:" "$RED" " No"
|
||||
echo -e "$NORMAL" "Server online:" "$RED" " No" "$NORMAL"
|
||||
else
|
||||
echo -e "$NORMAL" "Server online:" "$GREEN" " Yes"
|
||||
echo -e "$NORMAL" "Server online:" "$GREEN" " Yes" "$NORMAL"
|
||||
fi
|
||||
getCurrentVersion
|
||||
echo -e "$NORMAL" "Server version:" "$GREEN" $instver
|
||||
echo -e "$NORMAL"
|
||||
echo -e "$NORMAL" "Server version:" "$GREEN" $instver "$NORMAL"
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user