diff --git a/defaults.inc b/defaults.inc index 9eb8023c..ed6ab48c 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.3.14d-11292024' +VERS='5.3.14e-11292024' NM_BETA=false noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix ' diff --git a/inc/status.inc b/inc/status.inc index f161f960..e2165758 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -1046,9 +1046,9 @@ STATUS_SCANTIMES(){ unset IFS echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}" for scan in "${last_scantimes[@]}"; do - scanrun=$(echo "${scan}" | cut -d '~' -f 3) scandate=$(echo "${scan}" | cut -d '~' -f 1) scantime=$(echo "${scan}" | cut -d '~' -f 2) + scanrun=$(echo "${scan}" | cut -d '~' -f 3) if [ "${choice^^}" == "A" ] || ([ "${choice^^}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice^^}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice^^}" == "C" ] && [ ${scanrun} -eq 2 ]) || ([ "${choice^^}" == "L" ] && ([ ${scanrun} -eq 0 ] && [ ${scantime} -gt 60 ] || [ ${scanrun} -gt 0 ] && [ ${scantime} -gt 70 ])); then echo -en "${idsCL[White]} ${scandate} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) " [ ${scanrun} -eq 1 ] && echo -en "${idsCL[LightCyan]}<-- Replication Run "