From c17423e475802da6919edbabaad894117ae4b7e8 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Mon, 15 May 2023 02:51:15 +0100
Subject: [PATCH] download/coreboot: simplify check

---
 resources/scripts/download/coreboot | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index 8b64b76..88692e5 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/"
 
-- 
GitLab