mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
tpws : dropcaps
This commit is contained in:
@@ -794,8 +794,7 @@ bool dropcaps()
|
||||
{
|
||||
cap_t capabilities;
|
||||
|
||||
capabilities = cap_init();
|
||||
if (cap_clear(capabilities))
|
||||
if (!(capabilities = cap_init()))
|
||||
{
|
||||
perror("cap_init");
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user