Update status.inc
This commit is contained in:
@@ -1005,7 +1005,7 @@ STATUS_SCANTIMES(){
|
||||
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)
|
||||
if [ "${choice^^}" == "A" ] || ([ "${choice}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice}" == "C" ] && [ ${scanrun} -eq 2 ]); then
|
||||
if [ "${choice^^}" == "A" ] || ([ "${choice^^}" == "N" ] && [ ${scanrun} -eq 0 ]) || ([ "${choice^^}" == "R" ] && [ ${scanrun} -eq 1 ]) || ([ "${choice^^}" == "C" ] && [ ${scanrun} -eq 2 ]); then
|
||||
scandate=$(echo "${scan}" | cut -d '~' -f 1)
|
||||
scantime=$(echo "${scan}" | cut -d '~' -f 2)
|
||||
echo -en "${idsCL[White]} ${scandate} (${scantime}s) ${idsCL[Yellow]}$(SHOW_TIME ${scantime} s) "
|
||||
|
||||
Reference in New Issue
Block a user