8 lines
80 B
Bash
8 lines
80 B
Bash
function myerror {
|
|
code=$1
|
|
shift
|
|
msg="$*"
|
|
echo $msg
|
|
exit $code
|
|
}
|