1 |
commit: df0333a02c6363b79e61c79af858c5f58dd7e465 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 3 17:21:34 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 3 17:26:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0333a0 |
7 |
|
8 |
sys-cluster/k3s: fix init script bashisms |
9 |
|
10 |
Closes: https://bugs.gentoo.org/836614 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/k3s/files/k3s.initd | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sys-cluster/k3s/files/k3s.initd b/sys-cluster/k3s/files/k3s.initd |
17 |
index c2cc17309d40..874052701a7d 100644 |
18 |
--- a/sys-cluster/k3s/files/k3s.initd |
19 |
+++ b/sys-cluster/k3s/files/k3s.initd |
20 |
@@ -27,6 +27,6 @@ start() { |
21 |
} |
22 |
|
23 |
set -o allexport |
24 |
-if [ -f /etc/environment ]; then source /etc/environment; fi |
25 |
-if [ -f /etc/rancher/k3s/k3s.env ]; then source /etc/rancher/k3s/k3s.env; fi |
26 |
+if [ -f /etc/environment ]; then . /etc/environment; fi |
27 |
+if [ -f /etc/rancher/k3s/k3s.env ]; then . /etc/rancher/k3s/k3s.env; fi |
28 |
set +o allexport |