/ Published in: Bash

Impletement die function for bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# $1 - the exit code # $2 $... - the message string die() { retcode=$1 shift printf >&2 "%s\n" "$@" exit $retcode }
Comments
