]> the.earth.li Git - onak.git/commit
Handle failed database initialisation more gracefully
authorJonathan McDowell <noodles@earth.li>
Mon, 25 Sep 2023 17:51:41 +0000 (18:51 +0100)
committerJonathan McDowell <noodles@earth.li>
Mon, 25 Sep 2023 17:52:43 +0000 (18:52 +0100)
commit23538b7a1fe44e6e04e15d58b6fe809a6ad2ca31
tree60081a20ba98fed7032aa891afff62ffbb9c8c85
parent79425efea806599b611de4e3b25bdc36516e7522
Handle failed database initialisation more gracefully

Actually check the result from dbinit and exit rather than continuing
if we failed to initialise it. In particular we hit this path with a
missing config file.
cgi/add.c
cgi/gpgwww.c
cgi/hashquery.c
cgi/lookup.c
onak.c