hashicorp/consul — pull request #347 by sorenh (2014-09-17 19:23:14+00:00)
Title: Pass exitCode by reference

Arguments to defer statements are evaluated when the defer statement is
evaluated, so pass exitCode by reference instead.

Fixes issue #346