summaryrefslogtreecommitdiff
path: root/daemons/lvmdbusd
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2022-08-31 11:05:36 -0500
committerTony Asleson <tasleson@redhat.com>2022-09-16 10:49:37 -0500
commit22942f49162bca9e99172d64dfd03e7a881ce5b2 (patch)
tree9f2b4fdca9bbdb2259e65321957188f6bff9dceb /daemons/lvmdbusd
parentf5876a1f3fb729d255ea0bc3974d2891381620b3 (diff)
downloadlvm2-22942f49162bca9e99172d64dfd03e7a881ce5b2.tar.gz
lvmdbusd: Don't output debug for fullreport exit code 5
This is expected with an exported vg
Diffstat (limited to 'daemons/lvmdbusd')
-rw-r--r--daemons/lvmdbusd/cmdhandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/lvmdbusd/cmdhandler.py b/daemons/lvmdbusd/cmdhandler.py
index 23104e93e..d5dceb64e 100644
--- a/daemons/lvmdbusd/cmdhandler.py
+++ b/daemons/lvmdbusd/cmdhandler.py
@@ -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