make match case-insensitive

pull/936/head
Christian Tramnitz 5 years ago committed by GitHub
parent 06f477410b
commit 7b37988fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -567,7 +567,7 @@ create_env_file() {
UMASK=$(umask)
umask 0377
env | grep '^K3S_' | $SUDO tee ${FILE_K3S_ENV} >/dev/null
env | egrep '^(NO|HTTP|HTTPS)_PROXY' | $SUDO tee -a ${FILE_K3S_ENV} >/dev/null
env | egrep -i '^(NO|HTTP|HTTPS)_PROXY' | $SUDO tee -a ${FILE_K3S_ENV} >/dev/null
umask $UMASK
}

Loading…
Cancel
Save