remove debug code
This commit is contained in:
parent
b6a91b02db
commit
9673ab67ba
@ -211,11 +211,13 @@ static pid_t run_command_as(const gchar* command, const gchar* username)
|
|||||||
g_critical("run_command_as: Unable to call setgid: %s", strerror(errno));
|
g_critical("run_command_as: Unable to call setgid: %s", strerror(errno));
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
g_debug("run_command_as: setgroups: %d", numgroups);
|
g_debug("run_command_as: setgroups: %d", numgroups);
|
||||||
for(int i = 0; i < numgroups; i++)
|
for(int i = 0; i < numgroups; i++)
|
||||||
{
|
{
|
||||||
g_debug("run_command_as: group: %d \n", g_list[i]);
|
g_debug("run_command_as: group: %d \n", g_list[i]);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (setgroups(numgroups, g_list) == -1)
|
if (setgroups(numgroups, g_list) == -1)
|
||||||
{
|
{
|
||||||
g_critical("run_command_as: Unable to call setgroups: %s", strerror(errno));
|
g_critical("run_command_as: Unable to call setgroups: %s", strerror(errno));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user