"Debugging fct_erreur"

This commit is contained in:
Doug Le Tough 2017-08-15 01:25:25 +02:00
parent 3f9986db70
commit 226e5b1453

View File

@ -90,9 +90,7 @@ case ${L_Type} in
esac
case "${L_Cmd}" in
"stop" )
echo "*********** stop"
fct_message -hist "(${SH_SESSION_ID}) : fin - ${L_NumErr}"
"stop" ) fct_message -hist "(${SH_SESSION_ID}) : fin - ${L_NumErr}"
# Suppression des fichiers temporaire a la sortie du shell principal si mode debug pas activer
if [ ${#SH_INDENT_MSG} -eq 0 -a ${SH_NIV_DEBUG} -eq 0 ]
then
@ -116,12 +114,8 @@ case "${L_Cmd}" in
# Reduction de l indentation
[ ${#SH_INDENT_MSG} -gt 0 ] && SH_INDENT_MSG=${SH_INDENT_MSG:0:$((${#SH_INDENT_MSG}-2))}
exit ${L_CodRet} ;;
"continu" )
echo "*********** continu"
return 0 ;;
"*" )
echo "*********** All"
echo "eval ${L_Cmd}" ;;
"continu" ) return 0 ;;
* ) eval ${L_Cmd} ;;
esac
}
typeset -Ffx fct_erreur