gash/tests/100-test-false.sh

7 lines
58 B
Bash

set +e
false
if test $? -ne 0; then
exit 0;
fi
exit 1