summaryrefslogtreecommitdiffstats
path: root/cmd/commands/message_export.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/commands/message_export.go')
-rw-r--r--cmd/commands/message_export.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/commands/message_export.go b/cmd/commands/message_export.go
index 7162d46c2..30d9cb122 100644
--- a/cmd/commands/message_export.go
+++ b/cmd/commands/message_export.go
@@ -35,6 +35,7 @@ func messageExportCmdF(command *cobra.Command, args []string) error {
if err != nil {
return err
}
+ defer a.Shutdown()
if !*a.Config().MessageExportSettings.EnableExport {
return errors.New("ERROR: The message export feature is not enabled")