"Debugging fct_erreur"
This commit is contained in:
parent
9c2b0afd26
commit
3f9986db70
@ -90,7 +90,9 @@ case ${L_Type} in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case "${L_Cmd}" in
|
case "${L_Cmd}" in
|
||||||
"stop" ) fct_message -hist "(${SH_SESSION_ID}) : fin - ${L_NumErr}"
|
"stop" )
|
||||||
|
echo "*********** 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
|
# 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 ]
|
if [ ${#SH_INDENT_MSG} -eq 0 -a ${SH_NIV_DEBUG} -eq 0 ]
|
||||||
then
|
then
|
||||||
@ -114,8 +116,12 @@ case "${L_Cmd}" in
|
|||||||
# Reduction de l indentation
|
# Reduction de l indentation
|
||||||
[ ${#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" )
|
||||||
"*" ) echo "eval ${L_Cmd}" ;;
|
echo "*********** continu"
|
||||||
|
return 0 ;;
|
||||||
|
"*" )
|
||||||
|
echo "*********** All"
|
||||||
|
echo "eval ${L_Cmd}" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
typeset -Ffx fct_erreur
|
typeset -Ffx fct_erreur
|
||||||
|
Loading…
Reference in New Issue
Block a user