mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
lvmdbusd: Prevent running --nojson with VDO support
This commit is contained in:
parent
5b224d58f7
commit
df2292020b
@ -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 = []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user