Skip to content

Commit

Permalink
Remove accidental exit 1 statement.
Browse files Browse the repository at this point in the history
Unfortunately I missed that one while testing, which hides the error
when running the script not via the terminal, rather via right click and
run.
  • Loading branch information
stevewgr committed May 23, 2024
1 parent 437af91 commit 71f6ab2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ function ValidateServerNameInput {
MessageError "Available sql named instances: [$($sql_instances -join ', ')]"
$invoker_script_name = ($MyInvocation.PSCommandPath -split "\\")[-1]
MessageError "Example: .\$invoker_script_name -server_name "".\$($sql_instances[-1])"""
exit 1
}
return $false
}
Expand Down

0 comments on commit 71f6ab2

Please sign in to comment.