Skip to content

Commit

Permalink
Fix hashicorp#7 SIGINT cannot stop process issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fangpenlin committed Jul 25, 2014
1 parent f7513e2 commit 593bb8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ main() {
set -eo pipefail
case "$1" in
cmd:run) shift; cmd-run $@;;
*) /bin/consul agent -config-dir=/config $@;;
*) exec /bin/consul agent -config-dir=/config $@;;
esac
}

main "$@"
main "$@"

0 comments on commit 593bb8e

Please sign in to comment.