Remove old logfile before start

This commit is contained in:
Renato Botelho 2015-10-13 19:10:08 -03:00
parent a2df0a1bc7
commit 7dd07954aa

View File

@ -635,6 +635,10 @@ echo $$ > ${pid_file}
trap _exit 1 2 15 EXIT
if [ "${action}" != "upgrade" -a -f "${logfile}" ]; then
rm -f ${logfile}
fi
if [ -n "${progress_fifo}" ]; then
if [ ! -e "${progress_fifo}" ]; then
mkfifo ${progress_fifo}