You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/sys-apps/calculate-lib/files/calculate-lib-2.1.11-doveco...

15 lines
471 B

diff --git pym/cl_utils.py pym/cl_utils.py
index ac25984..5672b4e 100644
--- pym/cl_utils.py
+++ pym/cl_utils.py
@@ -296,7 +296,8 @@ def runOsCommand(cmd, inStr=None, ret_first=None, env_dict=None):
retcode = pipe.wait()
res = fout.readlines()
fout.close()
- res += ferr.readlines()
+ if not ("dovecot start" in cmd or "dovecot restart" in cmd):
+ res += ferr.readlines()
ferr.close()
if res:
if len(res) == 1 or ret_first: