Error out early if rpmdb open fails on upgrade element addition
authorPanu Matilainen <pmatilai@redhat.com>
Sat, 28 Jan 2012 12:11:08 +0000 (14:11 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Sat, 28 Jan 2012 12:11:08 +0000 (14:11 +0200)
commitf9e95c1155abe3f6b59ecef04c60aedcdd55c200
tree219320212fd2e3c66eb99a78c72e54796e02472b
parentfa7face5261cf721aa7ae8e89f8f1cb8e3ae98d2
Error out early if rpmdb open fails on upgrade element addition

- If we can't open the rpmdb then we cannot correctly process the
  upgrade, error out early. Mostly a "can't happen" case though.
  Also makes the logic a bit clearer, hopefully.
lib/depends.c