Browse Source

"Debugging fct_erreur"

master
Doug Le Tough 5 years ago
parent
commit
2ee52cc9e4
  1. 4
      lib/erreur.lib

4
lib/erreur.lib

@ -81,8 +81,6 @@ else @@ -81,8 +81,6 @@ else
esac
fi
echo "************* .${L_NumErr}. .${L_Type}. .${L_Cmd}. .${L_Msg}."
case ${L_Type} in
"ERREUR" ) fct_message -color rouge "${L_Type} : ${L_Msg}" ;;
"ALERTE" ) fct_message -color orange "${L_Type} : ${L_Msg}" ;;
@ -117,7 +115,7 @@ case "${L_Cmd}" in @@ -117,7 +115,7 @@ case "${L_Cmd}" in
[ ${#SH_INDENT_MSG} -gt 0 ] && SH_INDENT_MSG=${SH_INDENT_MSG:0:$((${#SH_INDENT_MSG}-2))}
exit ${L_CodRet} ;;
"continu" ) return 0 ;;
"*" ) eval ${L_Msg} ;;
"*" ) eval ${L_Cmd} ;;
esac
}
typeset -Ffx fct_erreur

Loading…
Cancel
Save