clean logfile on wpstools too

This commit is contained in:
Christian Mehlmauer
2013-07-23 19:10:51 +02:00
parent 02111bf9b4
commit 501fbd825a

View File

@@ -5,6 +5,8 @@ $: << '.'
require File.dirname(__FILE__) + '/lib/wpstools/wpstools_helper'
begin
# delete old logfile, check if it is a symlink first.
File.delete(LOG_FILE) if File.exist?(LOG_FILE) and !File.symlink?(LOG_FILE)
banner()