mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gdbusaddress: setuid error message references AT_SECURE
g_check_setuid does more than setuid checks when using AT_SECURE. Make sure that it is referenced in the error message to help users debug in case or errors Closes #2518
This commit is contained in:
parent
e4bb09d8ec
commit
14c5589ed6
@ -1098,7 +1098,7 @@ get_session_address_dbus_launch (GError **error)
|
||||
if (GLIB_PRIVATE_CALL (g_check_setuid) ())
|
||||
{
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
_("Cannot spawn a message bus when setuid"));
|
||||
_("Cannot spawn a message bus when AT_SECURE is set"));
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user