diff --git a/lgsm/functions/core_messages.sh b/lgsm/functions/core_messages.sh index e28e65765..c0fe5b634 100644 --- a/lgsm/functions/core_messages.sh +++ b/lgsm/functions/core_messages.sh @@ -30,6 +30,9 @@ fn_ansi_loader(){ fn_sleep_time(){ if [ "${sleeptime}" != "0" ]||[ "${travistest}" != "1" ]; then + if [ -z "${sleeptime}" ]; then + sleeptime=0.5 + fi sleep "${sleeptime}" fi }