regedit: don't fail loading keys if just a few are unavailable
authorChris Davis <cd.rattan@gmail.com>
Thu, 26 Jun 2014 05:29:06 +0000 (22:29 -0700)
committerMichael Adam <obnox@samba.org>
Wed, 1 Oct 2014 12:32:08 +0000 (14:32 +0200)
commitaba2b04b6c5584db63d03adab57fe1fd12ee71b4
tree2e24e14a9253f4b08881cd8562aedc5ba5f3494c
parentdf36fe7998fee3fc22976aeb42c25e2a2f0d73c5
regedit: don't fail loading keys if just a few are unavailable

Sometimes a key might fail to open due to access restrictions.
Only report failure if all keys failed to be opened.

Signed-off-by: Chris Davis <cd.rattan@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/regedit_treeview.c