diff options
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/k3s/files/k3s.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/k3s/files/k3s.initd b/sys-cluster/k3s/files/k3s.initd index c2cc17309d40..874052701a7d 100644 --- a/sys-cluster/k3s/files/k3s.initd +++ b/sys-cluster/k3s/files/k3s.initd @@ -27,6 +27,6 @@ start() { } set -o allexport -if [ -f /etc/environment ]; then source /etc/environment; fi -if [ -f /etc/rancher/k3s/k3s.env ]; then source /etc/rancher/k3s/k3s.env; fi +if [ -f /etc/environment ]; then . /etc/environment; fi +if [ -f /etc/rancher/k3s/k3s.env ]; then . /etc/rancher/k3s/k3s.env; fi set +o allexport |