Update status.inc
This commit is contained in:
@@ -1003,6 +1003,7 @@ STATUS_SCANTIMES(){
|
|||||||
read -rd '' -a last_scantimes <<<"${last_scantimes}"
|
read -rd '' -a last_scantimes <<<"${last_scantimes}"
|
||||||
unset IFS
|
unset IFS
|
||||||
echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}Last ${lastscansnum} Scan Times\n${idsCL[Green]}------------------------------------------${idsCL[Default]}"
|
||||||
|
echo "HERE: ${choice^^} - ${scanrun}"
|
||||||
for scan in "${last_scantimes[@]}"; do
|
for scan in "${last_scantimes[@]}"; do
|
||||||
scanrun=$(echo "${scan}" | cut -d '~' -f 3)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user