From de331e5da0930ca4cc287a95c506d34fb8f3c2d2 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 27 Jun 2024 14:06:08 +0100 Subject: [PATCH] lib.sh: add a return to the end of check_defconfig Signed-off-by: Leah Rowe --- include/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lib.sh b/include/lib.sh index 1e86079..5b21d81 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -127,7 +127,7 @@ check_defconfig() [ -d "$1" ] || $err "Target '$1' not defined." for x in "$1"/config/*; do [ -f "$x" ] && printf "%s\n" "$x" && return 1 - done + done; return 0 } remkdir()