summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmdbusd/main.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py
index de384ce4c..c128535fc 100644
--- a/daemons/lvmdbusd/main.py
+++ b/daemons/lvmdbusd/main.py
@@ -131,6 +131,10 @@ def main():
# exists.
cfg.vdo_support = supports_vdo()
+ if cfg.vdo_support and not cfg.args.use_json:
+ log_error("You cannot specify --nojson when lvm has VDO support")
+ sys.exit(1)
+
# List of threads that we start up
thread_list = []