Skip to content

Commit 0770384

Browse files
committed
Quiet
1 parent aba0bd6 commit 0770384

File tree

1 file changed

+1
-1
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-wireguard-module

1 file changed

+1
-1
lines changed

root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ip link del dev test 2>/dev/null
88
if ip link add dev test type wireguard; then
99
echo "**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****"
1010
ip link del dev test
11-
if capsh --current | grep "Current:" | grep "cap_sys_module"; then
11+
if capsh --current | grep "Current:" | grep -q "cap_sys_module"; then
1212
echo "**** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****"
1313
fi
1414
else

0 commit comments

Comments
 (0)