diff options
author | Daniel Schalla <daniel@schalla.me> | 2018-10-03 21:04:04 +0200 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-10-03 12:04:04 -0700 |
commit | 7468f35cb0c86b60f66e1c9228a60da244d3fcc4 (patch) | |
tree | 814771bff9ad1082bc7dfafea936cbb56fd1ba46 /cmd/mattermost | |
parent | cf9b9802a8732424b6cb7c233e3bfcf8cb3530ee (diff) | |
download | chat-7468f35cb0c86b60f66e1c9228a60da244d3fcc4.tar.gz chat-7468f35cb0c86b60f66e1c9228a60da244d3fcc4.tar.bz2 chat-7468f35cb0c86b60f66e1c9228a60da244d3fcc4.zip |
Fix CMD Init. Error Checks (#9547)
Diffstat (limited to 'cmd/mattermost')
-rw-r--r-- | cmd/mattermost/commands/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mattermost/commands/init.go b/cmd/mattermost/commands/init.go index 8d8f12c53..e76552c40 100644 --- a/cmd/mattermost/commands/init.go +++ b/cmd/mattermost/commands/init.go @@ -17,13 +17,13 @@ func InitDBCommandContextCobra(command *cobra.Command) (*app.App, error) { } a, err := InitDBCommandContext(config) - a.InitPlugins(*a.Config().PluginSettings.Directory, *a.Config().PluginSettings.ClientDirectory) if err != nil { // Returning an error just prints the usage message, so actually panic panic(err) } + a.InitPlugins(*a.Config().PluginSettings.Directory, *a.Config().PluginSettings.ClientDirectory) a.DoAdvancedPermissionsMigration() a.DoEmojisPermissionsMigration() |