commit: 1b193ada577a47873a711aa1cda4f278ed56a5f2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Sat Sep 24 13:17:21 2022 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Sat Sep 24 13:17:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b193ada
net-vpn/headscale: fix non-posix standard script Closes: https://bugs.gentoo.org/872476 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> net-vpn/headscale/files/headscale.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }
