From c17423e475802da6919edbabaad894117ae4b7e8 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 15 May 2023 02:51:15 +0100 Subject: download/coreboot: simplify check --- resources/scripts/download/coreboot | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'resources/scripts') diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot index 8b64b767..88692e53 100755 --- a/resources/scripts/download/coreboot +++ b/resources/scripts/download/coreboot @@ -89,11 +89,8 @@ download_coreboot_for_board() return 0 fi - [ ! -d coreboot ] && \ - mkdir "coreboot/" - [ ! -d coreboot ] && \ - printf "ERROR: download/coreboot: directory not created\n" && \ - return 1 + [ ! -d coreboot ] && mkdir "coreboot/" + [ ! -d coreboot ] && return 1 cd "coreboot/" -- cgit v1.2.1