bigeagle 10 年之前
父節點
當前提交
e278f7901f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tunasync/loglimit.py

+ 1 - 1
tunasync/loglimit.py

@@ -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: