diff --git a/example/aitf-clean-temporal b/example/aitf-clean-temporal
index 87376c61b4bc1177bda6c2d973c07855568872f3..347a7fc5204572ffefa6b4e9c4307d686e46713c 100755
--- a/example/aitf-clean-temporal
+++ b/example/aitf-clean-temporal
@@ -106,7 +106,7 @@ def main():
         log_download_report = no_cleanup_report
 
     stats = csppfetch.CleaningStats()
-    with PIDLockFile(args.temporal_dir+"cleaning-process.pid") as has_lock:
+    with PIDLockFile(args.temporal_dir+"/cleaning-process.pid") as has_lock:
         if has_lock:
             csppfetch.delete_old_files(args.temporal_dir+"/L1b", args.oldest, stats)
             csppfetch.delete_old_files(args.temporal_dir+"/L2",  args.oldest, stats)