1 2 3 4 5 6 7 8 9
#!/bin/bash rs274 -i test.ini -g test.ngc 2>&1 # expected to fail if [ $? -ne 0 ]; then exit 0 fi exit 1