Fix --tailscale not printing hostname

This commit is contained in:
Stanko K.R.
2026-02-19 10:34:03 +01:00
parent da69039476
commit b23660d897
+1 -1
View File
@@ -41,7 +41,7 @@ if [ "$USE_TAILSCALE" = "1" ]; then
exit 1 exit 1
fi fi
TS_STATUS=$(tailscale status --self --json 2>&1) TS_STATUS=$(tailscale status --self --json 2>/dev/null)
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Error: tailscale not logged in" >&2 echo "Error: tailscale not logged in" >&2
exit 1 exit 1