lib.sh: remove erroneous break from fx_

it means nothing here. in context, if a non-zero return
is observed, we should not do anything here, which is
already the behaviour anyway, except that "break" means
nothing since we're not in a loop here.

where an error exit should be observed, x_ is used inside
the command given for fx_

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-07-06 03:25:35 +01:00
parent c46a71138c
commit d25aaac9ad
+1 -1
View File
@@ -100,7 +100,7 @@ fx_()
fd="`mktemp`" && x_ rm -f "$fd" && x_ touch "$fd"
xx="$1" && shift 1
"$@" 2>/dev/null | sort 1>"$fd" 2>/dev/null || err "FATAL: !sort fx_"
dx_ "$xx" "$fd" || break
dx_ "$xx" "$fd" || :
x_ rm -f "$fd"
}