solution
This commit is contained in:
7
myfunctions.sh
Normal file
7
myfunctions.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
function myerror {
|
||||||
|
code=$1
|
||||||
|
shift
|
||||||
|
msg="$*"
|
||||||
|
echo $msg
|
||||||
|
exit $code
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user