Benjamin Renard commited on 2010-11-29 17:40:03
Showing 1 changed files, with 5 additions and 1 deletions.
... | ... |
@@ -87,7 +87,11 @@ then |
87 | 87 |
[ $DEBUG -eq 1 ] && echo "Pas encore de cache => On envoi" |
88 | 88 |
M=1 |
89 | 89 |
fi |
90 |
- if [ $M -eq 1 ] |
|
90 |
+ if [ $DEBUG -eq 1 -a $M -eq 1 ] |
|
91 |
+ then |
|
92 |
+ echo "Mode debug : Pas d'envoi de mail" |
|
93 |
+ fi |
|
94 |
+ if [ $M -eq 1 -a $DEBUG -ne 1 ] |
|
91 | 95 |
then |
92 | 96 |
cat $tmp > $CACHE |
93 | 97 |
if [ -n $NAME ] |
94 | 98 |