Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 60f64c2f authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

feat: fail function

parent 92147a51
No related branches found
No related tags found
1 merge request!4Resolve "Bash more secure"
......@@ -42,9 +42,15 @@ _exit() {
exit ${cr}
}
_fail() {
msg="${@}"
echo "ERROR : ${msg}"
_exit 1
}
_help() {
echo -e "${USAGE}"
_exit 1
_fail "Bad usage"
}
_load_config() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment