mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 05:04:39 +02:00
Improve the scripts
This commit is contained in:
@ -11,8 +11,8 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
$result = TaskKill /im GitExtensions.exe
|
||||
if ($result -ne 0) {
|
||||
TaskKill /im GitExtensions.exe
|
||||
if ($lastExitCode -ne "0") {
|
||||
& "$PSScriptRoot/speak-english.ps1" "Sorry, can't close Git Extensions"
|
||||
exit 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user