might be nice if my patches compiled...

This commit is contained in:
Havoc Pennington 2004-08-23 04:33:53 +00:00
parent bd4db6455b
commit a7291aee0e

View file

@ -3288,8 +3288,8 @@ _dbus_change_identity (dbus_uid_t uid,
* is going to work then setgroups() should also work.
*/
if (setgroups (0, NULL) < 0)
dbus_warn ("Failed to drop supplementary groups: %s\n",
_dbus_strerror (errno));
_dbus_warn ("Failed to drop supplementary groups: %s\n",
_dbus_strerror (errno));
/* Set GID first, or the setuid may remove our permission
* to change the GID