• unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    Here’s a neat tidbit. Using curl without -f --fail will make non-2xx status codes return success, so set -e won’t help there.

    • flying_sheep
      link
      fedilink
      arrow-up
      1
      ·
      5 months ago

      Yeah, and that’s just one of many many things to consider.