small fixes and update to nord theme

This commit is contained in:
ksyasuda
2022-01-09 12:34:21 -08:00
parent 0e1130f7c0
commit 54cad7d62b
5 changed files with 47 additions and 20 deletions

View File

@@ -246,6 +246,7 @@ insert_history() {
res="$?"
if [[ $res -gt 0 ]]; then
logger "Match found... Updating row in history db..."
wait # in case there's another insert/update still running in background
update_date "$@"
res=$?
else
@@ -265,6 +266,7 @@ insert_history() {
VALUES('$1', '$2', '$datetime');"
fi
logger "INSERT STATEMENT -> $stmt"
wait # in case there's another insert/update still running in background
run_stmt "$stmt"
res=$?
fi