fix the uninstall of plugins

Fixes #3362
This commit is contained in:
Pere Urbon-Bayes 2015-06-02 14:43:37 +02:00 committed by Jordan Sissel
parent d5fc55b3a6
commit d44e6e15a3

View file

@ -34,9 +34,10 @@ end
if $0 == __FILE__
begin
LogStash::Bundler.setup!({:without => [:build, :development]})
LogStash::PluginManager::Main.run("bin/plugin", ARGV)
rescue LogStash::PluginManager::Error => e
$stderr.puts(e.message)
exit(1)
end
end
end