0

How can exit codes of a program be inverted through Bash such that when it exits with a 0 exit code, I get a 1, otherwise a 0?

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
ayushgp
  • 4,393
  • 4
  • 35
  • 69

0 Answers0