mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-15 14:12:47 +00:00
bug fix
This commit is contained in:
parent
45ac0173e2
commit
e278f7901f
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user