diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-06 20:24:32 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-06 20:24:32 +0100 |
commit | fac99aa2d4478268453bdbe36f9397c15328201e (patch) | |
tree | a922f6de4c7ca242c9bbd0dcd214316517b8ebf9 | |
parent | 03300766d1418cb2670c120dab8b20acdbb63f3d (diff) |
lib.sh: re-add missing break in fe/fx_
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index 572fcf68..a125181b 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -160,14 +160,14 @@ find_ex() xx="$1" && shift 1 $xmsg find "$@" 2>/dev/null | sort 1>"$fd" 2>/dev/null || \ err "!find $(echo "$@") > \"$fd\"" - dx_ "$xx" "$fd" + dx_ "$xx" "$fd" || break x_ rm -f "$fd" } dx_() { [ -f "$2" ] && while read -r fx; do - $1 "$fx" + $1 "$fx" || return 1 done < "$2"; : } |