capabilities: Some plugins don't actually require capabilities at runtime
This commit is contained in:
@@ -92,7 +92,7 @@ plugin_t *error_notify_plugin_create()
|
||||
{
|
||||
private_error_notify_plugin_t *this;
|
||||
|
||||
if (!lib->caps->keep(lib->caps, CAP_CHOWN))
|
||||
if (!lib->caps->check(lib->caps, CAP_CHOWN))
|
||||
{ /* required to chown(2) notify socket */
|
||||
DBG1(DBG_CFG, "error-notify plugin requires CAP_CHOWN capability");
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user