summaryrefslogtreecommitdiff
path: root/include/inject.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-11 21:43:50 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-11 21:43:50 +0100
commitd0a1b40910eecc9687dab4c97c4b0b92057842e8 (patch)
tree60a76e520f15dcedc3516401df551762656e7b1f /include/inject.sh
parent0fd3d729985e69da307eae327ecdd3cd0ac6c0c1 (diff)
more cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/inject.sh')
-rw-r--r--include/inject.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/inject.sh b/include/inject.sh
index b037d2c5..eb764a98 100644
--- a/include/inject.sh
+++ b/include/inject.sh
@@ -104,9 +104,8 @@ check_target()
. "$boarddir/target.cfg" || \
err "Can't read '$boarddir/target.cfg'" "check_target" "$@"
- if [ -z "$tree" ]; then
+ [ -z "$tree" ] && \
err "tree unset in '$boarddir/target.cfg'" "check_target" "$@"
- fi
x_ ./mk -d coreboot "$tree"