diff options
| author | Colin Walters <walters@verbum.org> | 2004-11-03 16:38:35 +0000 | 
|---|---|---|
| committer | Colin Walters <walters@verbum.org> | 2004-11-03 16:38:35 +0000 | 
| commit | 9b6814a59b359d237ec5b59d7983ddfd443c89d9 (patch) | |
| tree | 9722a23d36ffedfc11ffccc505d3811052492aea | |
| parent | 47f094399c0160bec22db69c41cdcf14788a1670 (diff) | |
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>.
| -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");  } | 
