Skip to content

Commit

Permalink
handle props possibly failing
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmccracken committed Dec 25, 2024
1 parent e2b971f commit 6baaa48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ws_tool/lib/bootstrap_doctor.bash
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ run_props () {
failed_props+=("$current")
else
echo "fixing: $current ..."
interact "${current}_fix"
fix_result="$?"
fix_result=0
interact "${current}_fix" || { fix_result="$?"; : ; }
if (( fix_result == 0 )); then
echo "fixing: $current .... OK"
"$current"
prop_result="$?"
prop_result=0
"${current}" || { prop_result="$?"; : ; }
if (( prop_result == 0 )); then
echo "checking: $current .... OK"
else
Expand Down

0 comments on commit 6baaa48

Please sign in to comment.