1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-04 14:40:05 +02:00

Update check-symlinks.ps1

This commit is contained in:
Markus Fleschutz
2021-03-05 09:09:39 +01:00
committed by GitHub
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])"