Skip to content

Commit 133fee5

Browse files
authored
[Devops] Error if any piped functions fail when installing drivers (#18796)
Right now we don't fail if functions like `get_release` fail because they're piped, make those fail too. --------- Signed-off-by: Sarnie, Nick <[email protected]>
1 parent f8a6ca8 commit 133fee5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

devops/scripts/install_drivers.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
set -e
44
set -x
5+
set -o pipefail
56

67
if [ -f "$1" ]; then
78
# Read data from the dependencies.json passed as the first argument.

0 commit comments

Comments
 (0)