mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
xbmk: simplify a few err calls
many of the messages are redundant, because errors caused by the commands they handle would produce similar messages. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -106,8 +106,7 @@ try_file()
|
||||
eval "[ -$echk \"$cached\" ] || return 1"
|
||||
|
||||
if [ "$2" = "git" ]; then
|
||||
[ -d "$5" ] || tmpclone "$cached" "$5" "$6" "$7" || \
|
||||
err "Can't clone final repo in command: try_file $*"; :
|
||||
[ -d "$5" ] || tmpclone "$cached" "$5" "$6" "$7" || err; :
|
||||
else
|
||||
bad_checksum "$6" "$cached" && x_ rm -f "$cached" && return 1
|
||||
[ "$cached" != "$5" ] && x_ cp "$cached" "$5"
|
||||
|
||||
Reference in New Issue
Block a user