`make` module: check return code (#47861)

This commit is contained in:
Lukas Pirl 2018-12-03 11:29:18 +01:00 committed by John R Barker
parent 329922e2dd
commit 9fd5d01d67

View file

@ -139,8 +139,9 @@ def main():
# do anything
changed = False
else:
# The target isn't upd to date, so we need to run it
rc, out, err = run_command(base_command, module)
# The target isn't up to date, so we need to run it
rc, out, err = run_command(base_command, module,
check_rc=True)
changed = True
# We don't report the return code, as if this module failed