Skip to content

Commit

Permalink
back to this way of preventing cmd failure
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmccracken committed Dec 24, 2024
1 parent 624973b commit 5b92f00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ws_tool/lib/bootstrap_doctor.bash
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ ensure_props () {
shift
echo "checking: $current..."
REPLY=()
{ "$current"; prop_result="$?"; : ; }
prop_result=0
"$current" || { prop_result="$?"; : ; }
if (( prop_result == 0 )); then
echo "checking: $current ... OK"
if (( ${#REPLY[@]} > 1 )) && [[ "${REPLY[0]}" == "additional_props" ]]; then
Expand Down

0 comments on commit 5b92f00

Please sign in to comment.