Changeset 14130


Ignore:
Timestamp:
06/08/12 18:07:37 (12 years ago)
Author:
tbretz
Message:
Added more 'known return codes'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/start.sh

    r13822 r14130  
    3434   echo
    3535
    36    # 134 (double corruption, abort())
    37    # 139 (seg-fault)
    38    # 255 (exception, exit(-1))
     36   # HUP    1  exit
     37   # INT    2  exit
     38   # QUIT   3  core
     39   # ILL    4  core
     40   # TRAP   5  core
     41   # ABRT   6  core
     42   # FPE    8  core
     43   # KILL   9  exit
     44   # SEGV  11  core
     45   # PIPE  13  exit
     46   # ALRM  14  exit
     47   # TERM  15  exit
    3948
    40    if [ $RC == 0 -o $RC == 255 ]; then
     49   # 0    (User requested exit from the command line)
     50   # 1-   (Eval options failed, return code of StateMachineImp::Run)
     51   # 126  (exit requested from recompile.sh)
     52   # 127  (problem with option parsing or no program start, like --help)
     53   # 128  (exit(128))
     54   # 134  (ABRT, double corruption, abort())
     55   # 139  (SEGV, 128+11)
     56   # 255  (exception)
     57
     58   if [ $RC -eq 126 ]; then
     59      continue
     60   fi
     61
     62   # RC<=128 || RC==KILL || RC=TERM || RC=exception
     63   if [ ( $RC -le 128 ) -o ( $RC -eq 137 ) -o ( $RC -eq 143 ) -o ( $RC -eq 255 ) ]; then
    4164      exit
    4265   fi
Note: See TracChangeset for help on using the changeset viewer.