From 40b964bd302560f7ec9d591779d862f6c6c8dc0b Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 26 Jul 2024 10:07:54 +0300 Subject: [PATCH] proton: Don't try track .debug files if there's not tracking file. --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index 96f7212e..fe348126 100755 --- a/proton +++ b/proton @@ -173,7 +173,7 @@ def try_copy(src, dst, prefix=None, add_write_perm=True, copy_metadata=False, op if file_exists(dst + '.debug', follow_symlinks=False): os.remove(dst + '.debug') - elif link_debug: + elif link_debug and track_file: track_file.write(os.path.relpath(dst + '.debug', prefix) + '\n') if link_debug: