diff --git a/pipelinewise/cli/pipelinewise.py b/pipelinewise/cli/pipelinewise.py index 62ad01688..8691c33c5 100644 --- a/pipelinewise/cli/pipelinewise.py +++ b/pipelinewise/cli/pipelinewise.py @@ -1320,7 +1320,7 @@ def stop_tap(self, sig=None, frame=None): # Terminate all the processes in the current process' process group. for child in parent.children(recursive=True): - if os.getpgid(child.pid) == pgid and child.status == 'running': + if os.getpgid(child.pid) == pgid: self.logger.info('Sending SIGTERM to child pid %s...', child.pid) child.terminate() try: