From 1e27dd851f6e16421250436c810d6aa8597ec23e Mon Sep 17 00:00:00 2001 From: Wojtek Porczyk Date: Thu, 24 Mar 2022 12:44:24 +0100 Subject: [PATCH] tools/update-pieeprom.sh: Fix cleanup exiting 1 --- tools/update-pieeprom.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/update-pieeprom.sh b/tools/update-pieeprom.sh index e5cd649..6df0a87 100755 --- a/tools/update-pieeprom.sh +++ b/tools/update-pieeprom.sh @@ -25,7 +25,7 @@ die() { } cleanup() { - [ -f "${TMP_CONFIG}" ] && rm -f "${TMP_CONFIG}" + if [ -f "${TMP_CONFIG}" ]; then rm -f "${TMP_CONFIG}"; fi } usage() { -- libgit2 0.21.4