Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: utils: A workaround for the truncating issue (bsc#1205925)
When python program calling cibsecret with a small terminal width, the command `ps -ef | grep '[p]acemaker-controld'` will return 1 >>> cmd = "ps -ef | grep '[p]acemaker-controld' >/dev/null" >>> # When terminal width is small >>> subprocess.call(cmd, shell=True) 1 >>> # When terminal is big enough >>> subprocess.call(cmd, shell=True) 0 Set a large terminal width could be a workaround See also: ClusterLabs/pacemaker#3384
- Loading branch information