mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
bug fix
This commit is contained in:
parent
45ac0173e2
commit
e278f7901f
@ -43,7 +43,7 @@ class LogLimitHook(JobHook):
|
||||
|
||||
# create a soft link
|
||||
if log_link != log_file:
|
||||
if os.path.exists(log_link):
|
||||
if os.path.lexists(log_link):
|
||||
try:
|
||||
sh.rm(log_link)
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user