diff options
Diffstat (limited to 'include/inject.sh')
| -rw-r--r-- | include/inject.sh | 3 |
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" |
