mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmdbusd: Don't output debug for fullreport exit code 5
This is expected with an exported vg
This commit is contained in:
parent
f5876a1f3f
commit
22942f4916
@ -164,7 +164,7 @@ def call_lvm(command, debug=False, line_cb=None,
|
||||
break
|
||||
|
||||
if process.returncode is not None:
|
||||
if debug or process.returncode != 0:
|
||||
if debug or (process.returncode != 0 and (process.returncode != 5 and "fullreport" in command)):
|
||||
_debug_c(command, process.returncode, (stdout_text, stderr_text))
|
||||
|
||||
return process.returncode, stdout_text, stderr_text
|
||||
|
Loading…
Reference in New Issue
Block a user