cleanup both logs if there
This commit is contained in:
parent
9c90c20734
commit
c808501c19
@ -63,7 +63,8 @@ fi
|
||||
printf "\n${SELF}: Stopped at ${DEND}.\n"
|
||||
|
||||
if [ "${1}" == "-cleanup" ]; then
|
||||
rm -f "${CLOG}"
|
||||
if [ -f "${CLOG}" ]; then rm -f "${CLOG}"; fi
|
||||
if [ -f "${CLOG}".prev ]; then rm -f "${CLOG}".prev; fi
|
||||
else
|
||||
E2=`date '+%s'`
|
||||
let ES="${E2} - ${E1}"
|
||||
|
Loading…
Reference in New Issue
Block a user