dell / patches

Apache License 2.0
3 stars 2 forks source link

If the build runs as part of the setup it causes setup to exit and requires a rerun #10

Open grantcurell opened 12 months ago

grantcurell commented 12 months ago

Minor bug: if the build runs in conjunction with the setup it causes the code to exit. I believe this is happening because the return 1 here:

  # Handling missing images
  if [[ ${#missing_images[@]} -gt 0 ]]; then
    read -n 1 -s -r -p $'\033[1;35mThere are missing Patches images. The Patches build will now run. Press any key to continue.\033[0m'
    echo 
    patches_build
    return 1
  else
    patches_echo "Patches images already present."
    return 0
  fi

in check images