Desactivation de l'envoi de mail en mode debug
This commit is contained in:
parent
e83c59c32f
commit
b1feead289
1 changed files with 11 additions and 7 deletions
|
@ -87,7 +87,11 @@ then
|
||||||
[ $DEBUG -eq 1 ] && echo "Pas encore de cache => On envoi"
|
[ $DEBUG -eq 1 ] && echo "Pas encore de cache => On envoi"
|
||||||
M=1
|
M=1
|
||||||
fi
|
fi
|
||||||
if [ $M -eq 1 ]
|
if [ $DEBUG -eq 1 -a $M -eq 1 ]
|
||||||
|
then
|
||||||
|
echo "Mode debug : Pas d'envoi de mail"
|
||||||
|
fi
|
||||||
|
if [ $M -eq 1 -a $DEBUG -ne 1 ]
|
||||||
then
|
then
|
||||||
cat $tmp > $CACHE
|
cat $tmp > $CACHE
|
||||||
if [ -n $NAME ]
|
if [ -n $NAME ]
|
||||||
|
|
Loading…
Reference in a new issue