diff --git a/trustify/client/configurator.py b/trustify/client/configurator.py index 4a0f04852..ff12ac39b 100644 --- a/trustify/client/configurator.py +++ b/trustify/client/configurator.py @@ -1001,7 +1001,7 @@ LogLevel warn \n\ """ #TODO: This should be written to use the process returncode try: - p = subprocess.Popen(['/etc/init.d/apache2', 'restart'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + p = subprocess.Popen(['/etc/init.d/apache2', 'restart'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) text = p.communicate()