A dependency of the newly submitted port spamd-setup-downloader (and other things I've written)
Comment:
system exit codes shell script library
Description:
A simple shell script file of system exit codes,
which can be sourced and used like a library.
This package reformats the established C system exits header file:
/usr/src/include/sysexits.h
Example uses include:
# Source the sysexits library:
. /usr/local/lib/sysexits.sh
mkdir ${lock} 2>/dev/null || exit ${EX_TEMPFAIL}
/etc/rc.d/dhcpd check || alert ${EX_UNAVAILABLE} "dhcpd isn't running"
cd ${cache} || finish ${EX_IOERR} "Can't cd into ${cache}"
Comments?
--
Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7
libsysexits.tgz
Description: application/tar-gz
