"Debugging fct_erreur"

This commit is contained in:
Doug Le Tough 2017-08-15 01:28:47 +02:00
parent e949f95f2e
commit b4cefeee48

View File

@ -81,13 +81,13 @@ else
esac
fi
#~ case ${L_Type} in
#~ "ERREUR" ) fct_message -color rouge "${L_Type} : ${L_Msg}" ;;
#~ "ALERTE" ) fct_message -color orange "${L_Type} : ${L_Msg}" ;;
#~ "INFO" ) fct_message -color bleu "${L_Type} : ${L_Msg}" ;;
#~ "FIN-OK" ) ;;
#~ * ) fct_message "${L_Type} : ${L_Msg}" ;;
#~ esac
case ${L_Type} in
"ERREUR" ) fct_message -color rouge "${L_Type} : ${L_Msg}" ;;
"ALERTE" ) fct_message -color orange "${L_Type} : ${L_Msg}" ;;
"INFO" ) fct_message -color bleu "${L_Type} : ${L_Msg}" ;;
"FIN-OK" ) ;;
* ) fct_message "${L_Type} : ${L_Msg}" ;;
esac
case "${L_Cmd}" in
"stop" ) fct_message -hist "(${SH_SESSION_ID}) : fin - ${L_NumErr}"