Skip to content

Commit 41f02e2

Browse files
authored
RD-5438 Use --no-pager in systemctl status so it will always return in RH8 (#117)
1 parent 71c6991 commit 41f02e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cfy_cluster_manager/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def _install_cloudify_remotely(instance):
295295
def _get_service_status_code(instance):
296296
"""Checking the status code of the cfy_manager_install_<type> service."""
297297
result = instance.run_command(
298-
'systemctl status {}'.format(instance.unit_name),
298+
'systemctl status {} --no-pager'.format(instance.unit_name),
299299
use_sudo=True, hide_stdout=True, ignore_failure=True)
300300
return result.return_code
301301

0 commit comments

Comments
 (0)