Exit

core_exit.sh

This script allows for the use of exit codes which will print different outputs to LinuxGSM logs. Running core_exit.sh defaults exitcode variable to 0 which stands for a proper exit

  • Normal exit: exitcode=0

  • FATAL exitcode=1

  • ERROR: exitcode=2

  • WARN: exitcode=3

Last updated