From 9dce8236efed907c70c5b216a9f8df8342b1d3b7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Oct 2023 05:56:14 +0100 Subject: update/project/trees: fix error handling on mkdir Signed-off-by: Leah Rowe --- script/update/project/trees | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'script/update') diff --git a/script/update/project/trees b/script/update/project/trees index 38d2c59d..093d5086 100755 --- a/script/update/project/trees +++ b/script/update/project/trees @@ -87,8 +87,7 @@ check_config_for_target() fetch_from_upstream() { - [ -d "${project}" ] || mkdir -p "${project}" || return 1 - [ -d "${project}" ] || return 1 + [ -d "${project}" ] || x_ mkdir -p "${project}" [ -d "${project}/${project}" ] && return 0 x_ ./update project repo "${project}" -- cgit v1.2.1