1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Set kdestroy more silent

Avoid kdestroy output like:
Other credential caches present, use -A to destroy all
This commit is contained in:
Evgeny Sinelnikov 2020-07-01 00:29:43 +04:00
parent 3c061169bc
commit 18422ff986

View File

@ -56,7 +56,7 @@ def machine_kdestroy(cache_name=None):
if cache_name:
kdestroy_cmd.extend(['-c', cache_name])
proc = subprocess.Popen(kdestroy_cmd)
proc = subprocess.Popen(kdestroy_cmd, stderr=subprocess.DEVNULL)
proc.wait()
if cache_name and os.path.exists(cache_name):