Add missing "-o pipefail" to generated scripts
Since we can now configure how we want to redirect the outputs in log files, we can use |tee or any other variant. So let's avoid masking errors. Change-Id: Iab6ab4e97fc30bc819f160bb6583234b318adc31
This commit is contained in:
parent
dd1595a3c6
commit
2a84c09932
|
@ -83,7 +83,7 @@ RETURN = """
|
|||
|
||||
_SHELL_HEADER = """#!/bin/bash
|
||||
# This file is managed by ansible
|
||||
set -ex
|
||||
set -xeo pipefail
|
||||
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue