We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa27e0 commit fdcda30Copy full SHA for fdcda30
pkg/sqlcmd/sqlcmd.go
@@ -151,6 +151,9 @@ func (s *Sqlcmd) Run(once bool, processAll bool) error {
151
lastError = err
152
}
153
154
+ if err == ErrCtrlC {
155
+ os.Exit(0)
156
+ }
157
if err != nil && err != io.EOF && s.Connect.ExitOnError {
158
// If the error were due to a SQL error, the GO command handler
159
// would have set ExitCode already
0 commit comments