We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d50b4f + 0770384 commit eddf6ebCopy full SHA for eddf6eb
root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run
@@ -8,7 +8,7 @@ ip link del dev test 2>/dev/null
8
if ip link add dev test type wireguard; then
9
echo "**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****"
10
ip link del dev test
11
- if capsh --print | grep -qv '\!cap_sys_module'; then
+ if capsh --current | grep "Current:" | grep -q "cap_sys_module"; then
12
echo "**** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****"
13
fi
14
else
0 commit comments