]> git.ipfire.org Git - pakfire.git/commit
db: Fail graciously when we could not open the database
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Mar 2025 10:56:31 +0000 (10:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Mar 2025 11:05:26 +0000 (11:05 +0000)
commitf773a547dbc267474f9b52276e94998a84e202f0
treee99f238949f468dc73eebf31648aae2eafd3fd15
parent59f352d541228f5a1710c1190c5e112bd212fc26
db: Fail graciously when we could not open the database

This mainly changes the return code and does some minor code cleanups

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/db.c