diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-07 23:07:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 23:07:19 +0200 |
commit | 48c09cb91079733e4c5517a22b5345ff14d66059 (patch) | |
tree | edb073477d96e904bcdd872f08f2df7674693d51 /python/vyos/utils/process.py | |
parent | f67c73eed92509e4341f24e5075611a11249200e (diff) | |
parent | 8d16ec73841a0b48c7f685a5073d5afa5f82b82f (diff) | |
download | vyos-1x-48c09cb91079733e4c5517a22b5345ff14d66059.tar.gz vyos-1x-48c09cb91079733e4c5517a22b5345ff14d66059.zip |
Merge pull request #2770 from vyos/mergify/bp/sagitta/pr-2769
smoketest: T5195: fix BasicInterfaceTest tearDown() timeout penalty (backport #2769)
Diffstat (limited to 'python/vyos/utils/process.py')
-rw-r--r-- | python/vyos/utils/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/process.py b/python/vyos/utils/process.py index cd58b4be2..bd0644bc0 100644 --- a/python/vyos/utils/process.py +++ b/python/vyos/utils/process.py @@ -204,7 +204,7 @@ def process_running(pid_file): pid = f.read().strip() return pid_exists(int(pid)) -def process_named_running(name, cmdline: str=None, timeout=0): +def process_named_running(name: str, cmdline: str=None, timeout: int=0): """ Checks if process with given name is running and returns its PID. If Process is not running, return None """ |