don't require .policy files for auth lookups
authorDavid Zeuthen <davidz@redhat.com>
Wed, 5 Dec 2007 00:39:40 +0000 (19:39 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 5 Dec 2007 00:39:40 +0000 (19:39 -0500)
commitea7da4ea8962bd6c2f71ffb12b3ab275aec681a6
tree6b7a9234fce388c533757a69ffa7db5a746aa39c
parentfb84bb8bd159d2c96402f448a516ff3d1db0fbd3
don't require .policy files for auth lookups

With this change, 'make check' now works even when PolicyKit isn't
installed (as it should). Before this change it failed because the
.policy files for org.freedesktop.policykit.read and .grant was not
available.
src/polkit/polkit-context.c