From 8196ce6ddf4f0c2320cbb0f8ea378dfff0d639c4 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 28 Jun 2024 14:14:38 +0100 Subject: vendor.sh: remove unnecessary check mktemp will never return empty output, and the next command after it is an mkdir, which would throw an error anyway, if the string is empty. Signed-off-by: Leah Rowe --- include/vendor.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/include/vendor.sh b/include/vendor.sh index 7154b7ea..6faec9ab 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -129,7 +129,6 @@ extract_intel_me() e "$_me" f && return 0 sdir="$(mktemp -d)" - [ -z "$sdir" ] && return 0 mkdir -p "$sdir" || $err "extract_intel_me: !mkdir -p \"$sdir\"" set +u +e -- cgit v1.2.1