Skip to content

Commit

Permalink
Update granulate_utils/linux/process.py
Browse files Browse the repository at this point in the history
Co-authored-by: Yonatan Goldschmidt <yonatan.goldschmidt@granulate.io>
  • Loading branch information
grariel and Jongy authored Jan 16, 2024
1 parent 9f5fa08 commit 3048ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion granulate_utils/linux/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def process_exe(process: psutil.Process) -> str:
See https://github.com/giampaolo/psutil/pull/2062
"""
# Clear the "exe" cache on the process object. It can change after cache if it was cached during fork-exec.
# Clear the "exe" cache on the process object. It can change after being cached if the process execed.
process._exe = None # type: ignore
exe = process.exe()
if exe == "":
Expand Down

0 comments on commit 3048ce8

Please sign in to comment.