Skip to content

Commit

Permalink
Use exec instead of sourcing
Browse files Browse the repository at this point in the history
  • Loading branch information
Suyog Rao authored and jordansissel committed Nov 5, 2014
1 parent a3493ea commit 0956e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/plugin
Original file line number Diff line number Diff line change
@@ -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 "$@"

0 comments on commit 0956e2a

Please sign in to comment.