diff options
Diffstat (limited to 'cmd/convert.go')
-rw-r--r-- | cmd/convert.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/convert.go b/cmd/convert.go index 20e4045c34..0b2e240b32 100644 --- a/cmd/convert.go +++ b/cmd/convert.go @@ -23,7 +23,10 @@ var CmdConvert = cli.Command{ } func runConvert(ctx *cli.Context) error { - if err := initDB(); err != nil { + stdCtx, cancel := installSignals() + defer cancel() + + if err := initDB(stdCtx); err != nil { return err } |