summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/mattermost.go b/mattermost.go
index 7b9f6c0c1..6d80f19e7 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -1473,6 +1473,8 @@ func cmdSlackImport() {
fmt.Fprintln(os.Stdout, "Running Slack Import. This may take a long time for large teams or teams with many messages.")
api.SlackImport(fileReader, fileInfo.Size(), team.Id)
+
+ flushLogAndExit(0)
}
}