mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 03:48:02 +02:00
Windows autolaunch: Turn stdout spam into stderr spam
This is still not how warnings and diagnostics should be done (the advice should probably be included in the DBusError) but at least this way it won't interfere with machine-readable output on stdout. See also https://bugs.freedesktop.org/show_bug.cgi?id=103756 Reviewed-by: Philip Withnall <withnall@endlessm.com> [smcv: Added a reference to #103756] Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601
This commit is contained in:
parent
789750feee
commit
3f3498c9c2
1 changed files with 2 additions and 2 deletions
|
|
@ -3082,8 +3082,8 @@ _dbus_get_autolaunch_address (const char *scope, DBusString *address,
|
|||
{
|
||||
dbus_set_error_const (error, DBUS_ERROR_FAILED, "could not find dbus-daemon executable");
|
||||
retval = FALSE;
|
||||
printf ("please add the path to %s to your PATH environment variable\n", daemon_name);
|
||||
printf ("or start the daemon manually\n\n");
|
||||
fprintf (stderr, "please add the path to %s to your PATH environment variable\n", daemon_name);
|
||||
fprintf (stderr, "or start the daemon manually\n\n");
|
||||
goto out;
|
||||
}
|
||||
_dbus_verbose( "found dbus daemon executable at %s",dbus_module_path);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue