RosettaCodeData/Task/Program-termination/UNIX-Shell/program-termination.sh
2023-07-01 13:44:08 -04:00

8 lines
126 B
Bash

#!/bin/sh
a='1'
b='1'
if [ "$a" -eq "$b" ]; then
exit 239 # Unexpected error
fi
exit 0 # Program terminated normally