diff options
Diffstat (limited to 'cmd/mattermost/commands/init.go')
-rw-r--r-- | cmd/mattermost/commands/init.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/mattermost/commands/init.go b/cmd/mattermost/commands/init.go index ea7e8ec84..8d8f12c53 100644 --- a/cmd/mattermost/commands/init.go +++ b/cmd/mattermost/commands/init.go @@ -17,6 +17,8 @@ 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) |