Skip to content

Commit 5e9a8bf

Browse files
committed
run_qemu.sh: shopt -s inherit_errexit
Bash does not propagate set -e to command substitution by default! Learned the hard way. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent d3e658e commit 5e9a8bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run_qemu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# SPDX-License-Identifier: CC0-1.0
33
# Copyright (C) 2021 Intel Corporation. All rights reserved.
44

5+
shopt -s inherit_errexit
6+
57
# default config
68
: "${builddir:=./qbuild}"
79
rootpw="root"

0 commit comments

Comments
 (0)