From 85db4a405a7ff6ab0613fc6db031bd46b26e1231 Mon Sep 17 00:00:00 2001 From: Carlos Chulo <9343504+cchulo@users.noreply.github.com> Date: Tue, 11 Jul 2023 22:48:06 -0700 Subject: [PATCH] fixed copy/pasta --- tailscale.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailscale.sh b/tailscale.sh index e2612d3..66326c9 100644 --- a/tailscale.sh +++ b/tailscale.sh @@ -62,8 +62,8 @@ fi systemd-sysext refresh > /dev/null 2>&1 systemctl daemon-reload > /dev/null -if systemctl is-enabled --quiet systemd-sysext && systemctl is-active --quiet systemd-sysext; then - echo "tailscaled is already active" +if systemctl is-enabled --quiet tailscaled && systemctl is-active --quiet tailscaled; then + echo "tailscaled is already enabled and active" else systemctl enable tailscaled --now fi