"Debuggin fct_erreru"
This commit is contained in:
parent
0209427390
commit
74d43227af
@ -81,6 +81,8 @@ else
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "************* ${L_NumErr} ${L_Type} ${L_Cmd}"
|
||||||
|
|
||||||
case ${L_Type} in
|
case ${L_Type} in
|
||||||
"ERREUR" ) fct_message -color rouge "${L_Type} : ${L_Msg}" ;;
|
"ERREUR" ) fct_message -color rouge "${L_Type} : ${L_Msg}" ;;
|
||||||
"ALERTE" ) fct_message -color orange "${L_Type} : ${L_Msg}" ;;
|
"ALERTE" ) fct_message -color orange "${L_Type} : ${L_Msg}" ;;
|
||||||
@ -115,7 +117,7 @@ case "${L_Cmd}" in
|
|||||||
[ ${#SH_INDENT_MSG} -gt 0 ] && SH_INDENT_MSG=${SH_INDENT_MSG:0:$((${#SH_INDENT_MSG}-2))}
|
[ ${#SH_INDENT_MSG} -gt 0 ] && SH_INDENT_MSG=${SH_INDENT_MSG:0:$((${#SH_INDENT_MSG}-2))}
|
||||||
exit ${L_CodRet} ;;
|
exit ${L_CodRet} ;;
|
||||||
"continu" ) return 0 ;;
|
"continu" ) return 0 ;;
|
||||||
"*" ) eval ${L_Msg} ;;
|
"*" ) eval ${L_Cmd} ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
typeset -Ffx fct_erreur
|
typeset -Ffx fct_erreur
|
||||||
|
Loading…
Reference in New Issue
Block a user