mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 09:28:21 +02:00
Update check-symlinks.ps1
This commit is contained in:
parent
ffd527dbe2
commit
b42a8ecf70
@ -28,7 +28,7 @@ try {
|
|||||||
}
|
}
|
||||||
$SymlinksTotal++
|
$SymlinksTotal++
|
||||||
}
|
}
|
||||||
write-host -foregroundColor green "Done - $SymlinksBroken out of $SymlinksTotal are broken"
|
write-host -foregroundColor green "OK - found $SymlinksTotal symlinks total, $SymlinksBroken symlinks are broken"
|
||||||
exit $SymlinksBroken
|
exit $SymlinksBroken
|
||||||
} catch {
|
} catch {
|
||||||
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user