Compare commits

...

1 commit

Author SHA1 Message Date
Johan Le Baut 6822ec4866 ingest script: filter out too verbose warning 2022-10-14 13:18:18 +02:00

View file

@ -31,7 +31,12 @@ EOF
done
echo ""
sqlite3 "${fullDbPath}" < "${tmpSql}"
rc=0
sqlite3 "${fullDbPath}" < "${tmpSql}" 2>&1 | grep -v "filling the rest with NULL" || rc="${PIPESTATUS[0]}"
if [[ $rc -ne 0 ]]; then
echo "Error executing sqlite import"
exit "$rc"
fi
echo "[+] Ingesting spatial data."