summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/headscale/files/headscale.initd2
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
}