Skip to content

Commit

Permalink
Remove extra single quote in LdPreload debug log (#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <[email protected]>
  • Loading branch information
christophebedard authored Aug 31, 2023
1 parent 63f70c6 commit 0041e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracetools_launch/tracetools_launch/actions/ld_preload.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ def get_shared_lib_path(cls, lib_name: str) -> Optional[str]:
return None
# Assuming that there are no spaces in paths (which should be valid for Linux libs)
paths = output_split[1].split(' ')
cls.__logger.debug(f"lib paths for '{lib_name}'': {paths}")
cls.__logger.debug(f"lib paths for '{lib_name}': {paths}")
# Try to find a shared library
# Paths could contain a shared lib (.so) or a static lib (.a) in any order
# Paths could contain: shared lib (.so), static lib (.a), or libtools text file (.la)
shared_lib_paths = [path for path in paths if path.endswith('.so')]
if not shared_lib_paths:
return None
Expand Down

0 comments on commit 0041e07

Please sign in to comment.