you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 5 months ago

Don’t use set -euo pipefail. It will only cause more issues down the road.

Wait why? It's dangerous if the script silently fails surely.

Also a cool tip

(
   Long Code here 
   You want to track
) | tee -a log.txt   
  • source
  • parent