Make sure none of your men go off half-cocked and ruin this operation.
From the days of flintlock and caplock firearms, where the half-cock position of the hammer was both a rudimentary safety, and the proper position for priming the pan or inserting a percussion cap. The phrase was originally rendered, "to go off at half-cock."
English Wiktionary. Available under CC-BY-SA license.