When I run `sqlite3 -bail path/to/database .dump` if there is an error, the exit code is still zero.
I'm running this as part of a backup script, so if the dump doesn't work for whatever reason, I do need it to set a non-zero exit code!
Anybody have any idea how to make it do that? Or perhaps a different program for dumping SQLite databases?