Changeset 508


Ignore:
Timestamp:
12/05/2009 19:35:34 (2 years ago)
Author:
ccowart
Message:

Cleaning up exit handling.

Fixes #114

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/confadmin.in

    r437 r508  
    3232else 
    3333    echo "Can't find confmancommon.sh. Exiting." >&2 
     34    exit 17 
    3435fi 
    3536 
  • trunk/confaudit.in

    r467 r508  
    3232else 
    3333    echo "Can't find confmancommon.sh. Exiting." >&2 
    34     exit 1 
     34    exit 17 
    3535fi 
    3636 
     
    3838    echo "usage: $0 [-s] [-q] [-d]" >&4 
    3939    echo "Type '$0 -h' to display this help and exit." >&4 
    40     exit ${1:-0} 
     40    conf_cleanExit ${1:-0} 
    4141} 
    4242 
  • trunk/confexport.in

    r437 r508  
    3737else 
    3838    echo "Can't find confmancommon.sh. Exiting." >&2 
    39     exit 1 
     39    exit 17 
    4040fi 
    4141 
     
    4646    echo "usage: $0 [-d]" >&4 
    4747    echo "Type '$0 -h' to display this help and exit." >&4 
    48     exit ${1:-0} 
     48    conf_cleanExit ${1:-0} 
    4949} 
    5050 
  • trunk/confman.in

    r507 r508  
    3434else 
    3535    echo "Can't find confmancommon.sh. Exiting." >&2 
     36    exit 17 
    3637fi 
    3738 
  • trunk/confsync.in

    r471 r508  
    3535else 
    3636    echo "Can't find confmancommon.sh. Exiting." >&2 
    37     exit 1 
     37    exit 17 
    3838fi 
    3939 
     
    4141    echo "usage: $0 [-f] [-s] [-d]" >&4 
    4242    echo "Type '$0 -h' to display this help and exit." >&4 
    43     exit ${1:-0} 
     43    conf_cleanExit ${1:-0} 
    4444} 
    4545 
Note: See TracChangeset for help on using the changeset viewer.