diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -20,14 +20,10 @@ export ETC ######################################################################## ### UTILITY FUNCTIONS -error() { - log "$1" - ERR=${2:-'1'} -} - +# failure function. exits with code 255, unless specified otherwise. failure() { echo "$1" >&2 - exit ${2:-'1'} + exit ${2:-'255'} } # write output to stderr |