added check for existence of tailscale log

This commit is contained in:
Blueprint Coding
2024-09-04 16:51:38 -06:00
parent 3b62a01229
commit 5b5e182156
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,6 @@ if %errorlevel%==0 (
) else if errorlevel 1 (
echo.
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Fetching Tailscale status...
rem Use the dynamic path based on %~dp0 to write to the logs folder
powershell -command ^
"$json = tailscale status --json | ConvertFrom-Json; " ^