From ac95b6ff8a8ad2af8b17cdf1f85295c4b95f025a Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 8 Dec 2022 08:40:09 +0000 Subject: [PATCH] Quiet --- root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run b/root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run index 99eb6e8..d6ed375 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run +++ b/root/etc/s6-overlay/s6-rc.d/init-wireguard-module/run @@ -9,7 +9,7 @@ if ip link add dev test type wireguard; then echo "**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****" SKIP_COMPILE="true" ip link del dev test - if capsh --print | grep "Current:" | grep "cap_sys_module"; then + if capsh --print | grep "Current:" | grep -q "cap_sys_module"; then echo "**** As the wireguard module is already active you can remove the SYS_MODULE capability from your container run/compose. ****" fi else