diff options
Diffstat (limited to 'commands/bridge_configure.go')
-rw-r--r-- | commands/bridge_configure.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/bridge_configure.go b/commands/bridge_configure.go index ed18cae9..ef499f1f 100644 --- a/commands/bridge_configure.go +++ b/commands/bridge_configure.go @@ -9,6 +9,7 @@ import ( "github.com/MichaelMure/git-bug/bridge" "github.com/MichaelMure/git-bug/cache" + "github.com/MichaelMure/git-bug/util/interrupt" "github.com/spf13/cobra" ) @@ -18,6 +19,7 @@ func runBridgeConfigure(cmd *cobra.Command, args []string) error { return err } defer backend.Close() + interrupt.RegisterCleaner(backend.Close) target, err := promptTarget() if err != nil { |