• Feyd@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    23 小时前

    Ehhh I don’t think I’ve used bash outside of random stuff on my machine in years except in CI pipelines and wanting them to stop and fail the pipeline the second anything goes wrong is exactly what I want.

    • thingsiplay@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      23 小时前

      I do not want to think about every possible error that can happen. I do not want to study every program I call to look for any possible errors. Only errors that are important to my task.

      As I said, there are reasons to use this option when the script MUST fail on error.And its helpful for creating the script. I just don’t like generalizations to always enable this option.