Wait for puppet checks to finish in lint-all

(imported from commit 760c49622e5f33e12551f24128e1df54a9ae8848)
This commit is contained in:
Steve Howell
2013-09-19 10:43:24 -04:00
parent 203a71dcd0
commit 7228ce956b

View File

@@ -192,6 +192,10 @@ try:
if status != 0:
failed = True
(_, status) = os.waitpid(puppet_pid, 0)
if status != 0:
failed = True
sys.exit(1 if failed else 0)
finally: