mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 16:03:22 +01:00
Update check-vpn.ps1
This commit is contained in:
parent
357d04ee41
commit
1f5ccf63c1
@ -23,7 +23,7 @@ try {
|
||||
$NoVPN = $false
|
||||
}
|
||||
}
|
||||
if ($NoVPN) { Write-Host "⚠️ No VPN" }
|
||||
if ($NoVPN) { Write-Host "⚠️ No VPN configured" }
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Loading…
Reference in New Issue
Block a user