Don't print the warning message twice

This commit is contained in:
Ben Peddell 2016-06-27 19:16:57 +10:00
parent 6e1627c801
commit 8aad9cd42e

View File

@ -991,7 +991,6 @@ printWarnMessage(){
reason="${reason//\{time\}/${msgtime}}"
reason="${reason//\{modnamesupdated\}/${modnamesupdated}}"
msg="${msg//\{reason\}/${reason}}"
printf "%s\n" "$msg"
else
if [ "$1" == "update" ]; then
if [ "$3" == "minutes" ]; then