mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Add comment to exit 0
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<#
|
||||
<#
|
||||
.SYNOPSIS
|
||||
check-ipv6-address.ps1 [<address>]
|
||||
.DESCRIPTION
|
||||
@ -41,7 +41,7 @@ try {
|
||||
}
|
||||
if (IsIPv6AddressValid $Address) {
|
||||
"✔️ IPv6 address $Address is valid"
|
||||
exit 0
|
||||
exit 0 # success
|
||||
} else {
|
||||
write-warning "Invalid IPv6 address: $Address"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user