diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-07-08 18:24:43 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-07-18 15:25:35 +0200 |
commit | dfc99020137e1722ec415d08006424c8b81c3c04 (patch) | |
tree | 2e1c5103f6f64feb2eb65dfad2900c8f77699965 /src/libcharon/plugins/duplicheck | |
parent | 027676f7500b7d94140adc979959541b08fc4a89 (diff) | |
download | strongswan-dfc99020137e1722ec415d08006424c8b81c3c04.tar.bz2 strongswan-dfc99020137e1722ec415d08006424c8b81c3c04.tar.xz |
capabilities: Some plugins don't actually require capabilities at runtime
Diffstat (limited to 'src/libcharon/plugins/duplicheck')
-rw-r--r-- | src/libcharon/plugins/duplicheck/duplicheck_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/duplicheck/duplicheck_plugin.c b/src/libcharon/plugins/duplicheck/duplicheck_plugin.c index d6e652d59..6b8609ebc 100644 --- a/src/libcharon/plugins/duplicheck/duplicheck_plugin.c +++ b/src/libcharon/plugins/duplicheck/duplicheck_plugin.c @@ -98,7 +98,7 @@ plugin_t *duplicheck_plugin_create() return NULL; } - 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, "duplicheck plugin requires CAP_CHOWN capability"); return NULL; |