mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 15:38:01 +02:00
When launching dbus-daemon be more verbose in error case.
This commit is contained in:
parent
5e5121129e
commit
4510983f13
1 changed files with 7 additions and 3 deletions
|
|
@ -2846,10 +2846,14 @@ _dbus_get_autolaunch_address (const char *scope, DBusString *address,
|
|||
CloseHandle (pi.hThread);
|
||||
CloseHandle (pi.hProcess);
|
||||
retval = _dbus_get_autolaunch_shm( address, &shm_address );
|
||||
if (retval == FALSE)
|
||||
dbus_set_error_const (error, DBUS_ERROR_FAILED, "Failed to get autolaunch address from launched dbus-daemon");
|
||||
}
|
||||
else
|
||||
{
|
||||
dbus_set_error_const (error, DBUS_ERROR_FAILED, "Failed to launch dbus-daemon");
|
||||
retval == FALSE;
|
||||
}
|
||||
|
||||
if (retval == FALSE)
|
||||
dbus_set_error_const (error, DBUS_ERROR_FAILED, "Failed to launch dbus-daemon");
|
||||
|
||||
out:
|
||||
if (retval)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue