diff options
author | Yixun Lan <dlan@gentoo.org> | 2022-09-24 21:17:21 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2022-09-24 21:17:21 +0800 |
commit | 1b193ada577a47873a711aa1cda4f278ed56a5f2 (patch) | |
tree | c9163f45f99db2714c80b0f7fb01402f8314b1c6 | |
parent | dev-python/spyder-notebook: add 0.4.0, re-add package (diff) | |
download | gentoo-1b193ada577a47873a711aa1cda4f278ed56a5f2.tar.gz gentoo-1b193ada577a47873a711aa1cda4f278ed56a5f2.tar.bz2 gentoo-1b193ada577a47873a711aa1cda4f278ed56a5f2.zip |
net-vpn/headscale: fix non-posix standard script
Closes: https://bugs.gentoo.org/872476
Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r-- | net-vpn/headscale/files/headscale.initd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-vpn/headscale/files/headscale.initd b/net-vpn/headscale/files/headscale.initd index f43b3a55af38..9e89ac2ead15 100644 --- a/net-vpn/headscale/files/headscale.initd +++ b/net-vpn/headscale/files/headscale.initd @@ -29,7 +29,7 @@ start_pre() { /var/log/headscale.log \ /etc/headscale/config.yaml - if [[ -f ${private_key} ]]; then + if [ -f ${private_key} ]; then checkpath -f -m 600 -o "${user}" ${private_key} fi } |