diff --git a/src/db_update b/src/db_update index fc81f13..448149b 100644 --- a/src/db_update +++ b/src/db_update @@ -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 }