tpws : dropcaps

This commit is contained in:
bolvan 2019-05-19 15:43:08 +03:00
parent 8b9d7f56d3
commit 50a96d124b
9 changed files with 1 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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;