mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Silence modprobe warnings
This commit is contained in:
parent
c83ec56cbe
commit
8edbe30c8c
@ -270,7 +270,7 @@ echo
|
|||||||
|
|
||||||
SUDO=
|
SUDO=
|
||||||
[ $(id -u) -ne 0 ] && SUDO=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
|
if [ -z "$CONFIG" ]; then
|
||||||
for tryConfig in ${possibleConfigs}; do
|
for tryConfig in ${possibleConfigs}; do
|
||||||
|
Loading…
Reference in New Issue
Block a user