Skip to content

Commit c5e3836

Browse files
committed
fix stopping of server after fatal error
Signed-off-by: Ansuman Sahoo <[email protected]>
1 parent 1abcbc2 commit c5e3836

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/limactl/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ func main() {
4444
}
4545
rootCmd := newApp()
4646
if err := executeWithPluginSupport(rootCmd, os.Args[1:]); err != nil {
47+
server.StopAllExternalDrivers()
4748
handleExitCoder(err)
4849
logrus.Fatal(err)
4950
}

0 commit comments

Comments
 (0)