From 4df6a82d3d61b652eaba2329138ce66ed041bb37 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 24 Dec 2022 11:08:26 +0000 Subject: [PATCH] Update file run_onchange_after_59-connect-tailscale.tmpl --- .../universal/run_onchange_after_59-connect-tailscale.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_59-connect-tailscale.tmpl b/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_59-connect-tailscale.tmpl index 8865b4db..9430ffd3 100644 --- a/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_59-connect-tailscale.tmpl +++ b/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_59-connect-tailscale.tmpl @@ -1,7 +1,7 @@ #!/usr/bin/env bash ### Connect to Tailscale network -if command -v tailscale > /dev/null && [ {{ .user.TAILSCALE_AUTH_KEY }} != "" ]; then +if command -v tailscale > /dev/null && [ "{{ .user.TAILSCALE_AUTH_KEY }}" != "" ]; then logg info 'Connecting to Tailscale with user-defined authentication key' tailscale up --authkey={{ .user.TAILSCALE_AUTH_KEY }} && logg success 'Connected to Tailscale network' fi