summaryrefslogtreecommitdiff
path: root/script/update/blobs/inject
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-30 20:04:02 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-30 20:06:29 +0100
commit26fc3f13254e38ddd6903e7e18e0945b4e6fe63d (patch)
tree0baf792f50daea402a9a35dec25bb2aa6e89ac3d /script/update/blobs/inject
parent0a0defd3256ff5e29e3b4d129a04fb7546bc31ac (diff)
general code formatting cleanup in shell scripts
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/blobs/inject')
-rwxr-xr-xscript/update/blobs/inject5
1 files changed, 2 insertions, 3 deletions
diff --git a/script/update/blobs/inject b/script/update/blobs/inject
index 654af5d3..5e75d6c4 100755
--- a/script/update/blobs/inject
+++ b/script/update/blobs/inject
@@ -53,9 +53,8 @@ check_board()
fi
boarddir="${cbcfgsdir}/${board}"
- if [ ! -d "${boarddir}" ]; then
- err "check_board: board ${board} not found"
- fi
+ [ -d "${boarddir}" ] && return 0
+ err "check_board: board ${board} not found"
}
check_release()