Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git committed Sep 3, 2023
1 parent 182a600 commit 9791255
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zip-content/inc/common-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9791255

Please sign in to comment.