diff options
author | 2016-05-31 01:24:30 +0300 | |
---|---|---|
committer | 2016-05-31 01:24:30 +0300 | |
commit | 06f5cc0b5892712242344fb42cbafd873c5d0209 (patch) | |
tree | 6b2d26f3c7e59cebcad0df004fa71ef30650a15e /scripts/automation/trex_control_plane | |
parent | 99e328be3aaec15ab52d68be411a2bed89770ba0 (diff) |
SingletonDaemon restart fix return value
Diffstat (limited to 'scripts/automation/trex_control_plane')
-rwxr-xr-x | scripts/automation/trex_control_plane/server/singleton_daemon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/server/singleton_daemon.py b/scripts/automation/trex_control_plane/server/singleton_daemon.py index f0a61f54..7cfbc3bc 100755 --- a/scripts/automation/trex_control_plane/server/singleton_daemon.py +++ b/scripts/automation/trex_control_plane/server/singleton_daemon.py @@ -127,7 +127,7 @@ class SingletonDaemon(object): def restart(self, timeout = 5): if self.is_running(): self.kill(timeout) - self.start(timeout) + return self.start(timeout) # provides unique way to determine running process, should be used inside daemon |