[db_update] Fixed bug where script would return too soon during database update
This commit is contained in:
parent
f06fdf7ac0
commit
525c54296f
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ db_update() {
|
|||
if [[ -z $(awk -v imageid="${IMAGEID}" -v trackid="${trackid}" 'BEGIN{FS="\t"}{if($2==imageid && $3==trackid){print $0}}' ${DB_FILE}) ]]; then
|
||||
echo -e "true\t${IMAGEID}\t${trackid}\tnull" >> ${DB_FILE}
|
||||
fi
|
||||
return 0
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue