Commit 44126792 authored by Yann Garcia's avatar Yann Garcia

Fixed issues #21

parent 7d376288
......@@ -24,7 +24,10 @@ then
fi
fi
rm ../logs/merged.log.*
for i in `ls ../logs/merged.*.log`
do
rm -f $i
done
for i in $(seq 1 1 $COUNTER)
do
......@@ -39,7 +42,7 @@ do
done
sleep 1
mv ../logs/merged.log ../logs/merged.log.`date +'%Y%m%d%S'`
mv ../logs/merged.log ../logs/merged.`date +'%Y%m%d%S'`.log
done
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment