Skip to content

Commit

Permalink
fix!: bugfix running processes detection
Browse files Browse the repository at this point in the history
  • Loading branch information
pradishb committed Dec 12, 2023
1 parent e74af73 commit bdc5bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg_updater/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_running_processes(name: str, cmdline: str):
i_cmdline = " ".join(i.cmdline())
if "--restart" in i_cmdline:
# filter self
break
continue
if name in i.name() and cmdline in i_cmdline:
processes.append(i)
except psutil.Error:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pkg-updater"
version = "1.0.1"
version = "1.0.2"
dependencies = ["psutil"]
requires-python = ">=3"
authors = [{ name = "Pradish Bijukchhe", email = "[email protected]" }]
Expand Down

0 comments on commit bdc5bab

Please sign in to comment.