diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | bus/test-main.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2004-11-03 Colin Walters <walters@verbum.org> + + * bus/test-main.c (test_pre_hook): Fix test logic, + thanks Joerg Barfurth <Joerg.Barfurth@Sun.COM>. + 2004-11-02 Colin Walters <walters@redhat.com> * bus/selinux.c (bus_selinux_init): Split into two functions, diff --git a/bus/test-main.c b/bus/test-main.c index 14e35f5f..1228ae94 100644 --- a/bus/test-main.c +++ b/bus/test-main.c @@ -57,8 +57,8 @@ test_pre_hook (void) { if (_dbus_getenv ("DBUS_TEST_SELINUX") - && !bus_selinux_pre_init () - && !bus_selinux_full_init ()) + && (!bus_selinux_pre_init () + || !bus_selinux_full_init ())) die ("could not init selinux support"); } |