bigeagle 10 years ago
parent
commit
e278f7901f
1 changed files with 1 additions and 1 deletions
  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: