This commit is contained in:
bigeagle 2014-11-19 11:00:14 +08:00
parent 45ac0173e2
commit e278f7901f

View File

@ -43,7 +43,7 @@ class LogLimitHook(JobHook):
# create a soft link # create a soft link
if log_link != log_file: if log_link != log_file:
if os.path.exists(log_link): if os.path.lexists(log_link):
try: try:
sh.rm(log_link) sh.rm(log_link)
except: except: