Use exec instead of sourcing

Fixes #2017
This commit is contained in:
Suyog Rao 2014-11-04 17:44:36 -08:00 committed by Jordan Sissel
parent a3493eae37
commit 0956e2a3ae

View file

@ -1,8 +1,8 @@
#!/bin/sh
# Install contrib plugins.
# Install plugins.
#
# Usage:
# bin/plugin --help
basedir=$(cd `dirname $0`/..; pwd)
. ${basedir}/bin/logstash plugin "$@"
exec ${basedir}/bin/logstash plugin "$@"