Skip to content

Commit

Permalink
extended process detection
Browse files Browse the repository at this point in the history
  • Loading branch information
atiderko committed Dec 1, 2023
1 parent 333d3c6 commit 56ace26
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fkie_node_manager_daemon/scripts/remote_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,10 @@ def main(argv=sys.argv) -> int:
command = args.node_type
if args.node_type is None:
command = args.command
running_processes = find_process_by_name(
command, args.package, additional_args)
running_processes = find_process_by_name(command, args.package, additional_args)
if not running_processes:
# try without package name
running_processes = find_process_by_name(command, None, additional_args)
if len(running_processes) > 0:
if args.name:
Log.warn(
Expand Down

0 comments on commit 56ace26

Please sign in to comment.