Creating Kubernetes distributions
Creating Kubernetes distributions
Posted Dec 7, 2019 21:50 UTC (Sat) by Jandar (subscriber, #85683)In reply to: Creating Kubernetes distributions by epa
Parent article: Creating Kubernetes distributions
> It seems to require at least as much boilerplate as Python or Perl if you want to write | pipelines or do control flow while at the same time checking the exit status of each subprocess and perhaps checking whether anything was written on standard error too.
If you use #!/bin/bash "set -o pipefail" gives you checking of exit status of every part of a pipe.