[chk_nonexistent_ids] Now ignores LAST_DEPLOY and LAST_UPDATE rows

This commit is contained in:
ayakael 2018-04-15 22:22:44 -04:00
parent 511c997c4e
commit 20cb57ecef
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -15,7 +15,7 @@ chk_nonexistent_ids() {
local DB_FILE="${2}" local DB_FILE="${2}"
local ERR=false local ERR=false
local rowList=($(awk 'BEGIN{RS="\n";FS="\t";OFS="="}{print $2,$3,$4}' "${DB_FILE}")) local rowList=($(awk 'BEGIN{RS="\n";FS="\t";OFS="="}{if($1!="LAST_UPDATE" || $1!="LAST_DEPLOY"){print $2,$3,$4}}' "${DB_FILE}"))
local COUNT=1 local COUNT=1
for row in ${rowList[@]}; do for row in ${rowList[@]}; do