mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-24 07:28:27 +00:00
Don't print the warning message twice
This commit is contained in:
parent
6e1627c801
commit
8aad9cd42e
@ -991,7 +991,6 @@ printWarnMessage(){
|
|||||||
reason="${reason//\{time\}/${msgtime}}"
|
reason="${reason//\{time\}/${msgtime}}"
|
||||||
reason="${reason//\{modnamesupdated\}/${modnamesupdated}}"
|
reason="${reason//\{modnamesupdated\}/${modnamesupdated}}"
|
||||||
msg="${msg//\{reason\}/${reason}}"
|
msg="${msg//\{reason\}/${reason}}"
|
||||||
printf "%s\n" "$msg"
|
|
||||||
else
|
else
|
||||||
if [ "$1" == "update" ]; then
|
if [ "$1" == "update" ]; then
|
||||||
if [ "$3" == "minutes" ]; then
|
if [ "$3" == "minutes" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user