gash/tests/10-if-elif.sh

9 lines
81 B
Bash

if false; then
exit 1
elif false; then
exit 2
else
exit 0
fi
exit 1