Use .bail ON
If the shell bails out because of an error, it should be setting the exit code to indicate an error. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users