diff --git a/compile_qemu_nyx.sh b/compile_qemu_nyx.sh index e36fe285f8..0dc40aa558 100755 --- a/compile_qemu_nyx.sh +++ b/compile_qemu_nyx.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -e # Copyright (C) 2021 Sergej Schumilo # @@ -18,12 +17,14 @@ set -e # You should have received a copy of the GNU General Public License # along with QEMU-PT. If not, see . +set -e if [ -z "$BASH_VERSION" ]; then exit 0 fi -error () { +error() +{ echo "$0: