From 8edbe30c8c3a516a2febc7e4c6edb34867aab435 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Wed, 13 Nov 2019 17:39:02 -0700 Subject: [PATCH] Silence modprobe warnings --- contrib/util/check-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/util/check-config.sh b/contrib/util/check-config.sh index c5f9dd3cd7..1a5c7cba6e 100755 --- a/contrib/util/check-config.sh +++ b/contrib/util/check-config.sh @@ -270,7 +270,7 @@ echo SUDO= [ $(id -u) -ne 0 ] && SUDO=sudo -lsmod | grep -q configs || $SUDO modprobe configs || true +lsmod | grep -q configs || $SUDO modprobe configs >/dev/null 2>&1 || true if [ -z "$CONFIG" ]; then for tryConfig in ${possibleConfigs}; do