From 9791255e1f2b6a3a878c079b2707f6e5f220f43c Mon Sep 17 00:00:00 2001 From: ale5000 <15793015+ale5000-git@users.noreply.github.com> Date: Sun, 3 Sep 2023 21:21:19 +0200 Subject: [PATCH] Minor change --- zip-content/inc/common-functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zip-content/inc/common-functions.sh b/zip-content/inc/common-functions.sh index 5eaab6fb..4230479a 100644 --- a/zip-content/inc/common-functions.sh +++ b/zip-content/inc/common-functions.sh @@ -972,6 +972,8 @@ perform_secure_copy_to_device() if ! _something_exists "${TMP_PATH:?}/files/${1:?}"/* || _error_text="$(cp 2>&1 -r -p -f -- "${TMP_PATH:?}/files/${1:?}"/* "${SYS_PATH:?}/${1:?}"/)"; then if test -n "${_first_error_text?}"; then ui_recovered_error "$(printf '%s\n' "${_first_error_text:?}" | head -n 1 || true)" + else + ui_recovered_error 'Unknown' fi return 0 fi