Skip to content

Commit

Permalink
Update install.sh: Don't print "***** ERROR" twice
Browse files Browse the repository at this point in the history
EricClaeys authored Jan 24, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 866506b commit ebca687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -553,8 +553,8 @@ do_save_camera_capabilities()
exit_with_image 1 "${STATUS_ERROR}" "No camera detected"
elif [[ ${OPTIONSFILEONLY} == "false" ]]; then
display_msg --log error "Unable to save camera capabilities."
[[ -s ${TMP} ]] && display_msg --log error "$( < "${TMP}" )"
[[ -n ${M} ]] && display_msg --log error "${M}"
[[ -s ${TMP} ]] && display_msg --log info "$( < "${TMP}" )"
[[ -n ${M} ]] && display_msg --log info "${M}"
fi
return 1
else

0 comments on commit ebca687

Please sign in to comment.