"Debugging fct_erreur"
This commit is contained in:
parent
3f9986db70
commit
226e5b1453
@ -90,9 +90,7 @@ case ${L_Type} in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
case "${L_Cmd}" in
|
case "${L_Cmd}" in
|
||||||
"stop" )
|
"stop" ) fct_message -hist "(${SH_SESSION_ID}) : fin - ${L_NumErr}"
|
||||||
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
|
||||||
@ -116,12 +114,8 @@ 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" )
|
"continu" ) return 0 ;;
|
||||||
echo "*********** continu"
|
* ) eval ${L_Cmd} ;;
|
||||||
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