diff --git a/scripts/atf.sh b/scripts/atf.sh index 19b628d38d..86ade17a74 100755 --- a/scripts/atf.sh +++ b/scripts/atf.sh @@ -5,6 +5,8 @@ # SPDX-License-Identifier: GPL-2.0 # +set -e + if [ $# -eq 0 ]; then echo "ERROR: No args of $0" exit 1 diff --git a/scripts/loader.sh b/scripts/loader.sh index 6939fdffae..b9b08aec7b 100755 --- a/scripts/loader.sh +++ b/scripts/loader.sh @@ -5,6 +5,8 @@ # SPDX-License-Identifier: GPL-2.0 # +set -e + if [ $# -eq 0 ]; then echo "ERROR: No args of $0" exit 1 diff --git a/scripts/spl.sh b/scripts/spl.sh index 511b4ea77d..327e7186ec 100755 --- a/scripts/spl.sh +++ b/scripts/spl.sh @@ -5,6 +5,8 @@ # SPDX-License-Identifier: GPL-2.0 # +set -e + if [ $# -eq 0 ]; then echo "ERROR: No args of $0" exit 1 diff --git a/scripts/tos.sh b/scripts/tos.sh index 056529f285..812ac7b180 100755 --- a/scripts/tos.sh +++ b/scripts/tos.sh @@ -5,6 +5,8 @@ # SPDX-License-Identifier: GPL-2.0 # +set -e + if [ $# -eq 0 ]; then echo "ERROR: No args of $0" exit 1 diff --git a/scripts/uboot.sh b/scripts/uboot.sh index d2298f3eab..b6804305c3 100755 --- a/scripts/uboot.sh +++ b/scripts/uboot.sh @@ -5,6 +5,8 @@ # SPDX-License-Identifier: GPL-2.0 # +set -e + if [ $# -eq 0 ]; then echo "ERROR: No args of $0" exit 1