mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #1075 from erikwilson/sudo-check-config-no-redirect
Revert check-config's "Silence modprobe warnings"
This commit is contained in:
commit
293e996de7
@ -270,7 +270,7 @@ echo
|
||||
|
||||
SUDO=
|
||||
[ $(id -u) -ne 0 ] && SUDO=sudo
|
||||
lsmod | grep -q configs || $SUDO modprobe configs >/dev/null 2>&1 || true
|
||||
lsmod | grep -q configs || $SUDO modprobe configs || true
|
||||
|
||||
if [ -z "$CONFIG" ]; then
|
||||
for tryConfig in ${possibleConfigs}; do
|
||||
|
Loading…
Reference in New Issue
Block a user