From eabc82c7247311121c12ef1e445b69337aa4ef0b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Wed, 27 May 2020 17:27:30 +0200 Subject: [PATCH] Remove trailing whitespaces To please my OCD, and remove my editor flashing boxes, I am removing trailing whitespaces. They have no purpose in life. --- contrib/util/check-config.sh | 2 +- scripts/package-airgap | 2 +- scripts/package-rpm | 2 +- scripts/provision/vagrant | 2 +- scripts/wg-add.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/util/check-config.sh b/contrib/util/check-config.sh index 9c48deebc1..b592428ae8 100755 --- a/contrib/util/check-config.sh +++ b/contrib/util/check-config.sh @@ -404,7 +404,7 @@ fi # IOSCHED_CFQ CFQ_GROUP_IOSCHED flags=" - BLK_CGROUP BLK_DEV_THROTTLING + BLK_CGROUP BLK_DEV_THROTTLING CGROUP_PERF CGROUP_HUGETLB NET_CLS_CGROUP $netprio diff --git a/scripts/package-airgap b/scripts/package-airgap index fc32c85edb..e5762dbe9f 100755 --- a/scripts/package-airgap +++ b/scripts/package-airgap @@ -8,5 +8,5 @@ cd $(dirname $0)/.. airgap_image_file='scripts/airgap/image-list.txt' images=$(cat "${airgap_image_file}") xargs -n1 docker pull <<< "${images}" -docker save ${images} -o dist/artifacts/k3s-airgap-images-${ARCH}.tar +docker save ${images} -o dist/artifacts/k3s-airgap-images-${ARCH}.tar cp "${airgap_image_file}" dist/artifacts/k3s-images.txt diff --git a/scripts/package-rpm b/scripts/package-rpm index dccb7bc9ed..21c99cfc8c 100755 --- a/scripts/package-rpm +++ b/scripts/package-rpm @@ -54,7 +54,7 @@ if ! grep "BEGIN PGP PRIVATE KEY BLOCK" <<<"$PRIVATE_KEY"; then exit 0 fi -cat <<\EOF >~/.rpmmacros +cat <<\EOF >~/.rpmmacros %_signature gpg %_gpg_name ci@rancher.com EOF diff --git a/scripts/provision/vagrant b/scripts/provision/vagrant index 66a0a81d31..7bb0e1ec0f 100755 --- a/scripts/provision/vagrant +++ b/scripts/provision/vagrant @@ -11,7 +11,7 @@ fi if [[ $HOME = /go/* ]]; then echo 'Must not launch vagrant from /go/' exit 1 -fi +fi cd # --- Default to root user for vagrant ssh diff --git a/scripts/wg-add.sh b/scripts/wg-add.sh index 6cba643410..dc2f4a81c5 100755 --- a/scripts/wg-add.sh +++ b/scripts/wg-add.sh @@ -16,7 +16,7 @@ auto-mtu() { } # probe for any modules that may be needed -modprobe wireguard +modprobe wireguard modprobe tun # try wireguard kernel module first