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,738
  • 21
  • 105
  • 131
ayushgp
  • 4,891
  • 8
  • 40
  • 75

0 Answers0