summaryrefslogtreecommitdiffstats
path: root/cmd/mattermost/commands/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mattermost/commands/plugin.go')
-rw-r--r--cmd/mattermost/commands/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mattermost/commands/plugin.go b/cmd/mattermost/commands/plugin.go
index 56a57ddf1..810e972ad 100644
--- a/cmd/mattermost/commands/plugin.go
+++ b/cmd/mattermost/commands/plugin.go
@@ -83,7 +83,7 @@ func pluginAddCmdF(command *cobra.Command, args []string) error {
return err
}
- if _, err := a.InstallPlugin(fileReader); err != nil {
+ if _, err := a.InstallPlugin(fileReader, false); err != nil {
CommandPrintErrorln("Unable to add plugin: " + args[i] + ". Error: " + err.Error())
} else {
CommandPrettyPrintln("Added plugin: " + plugin)