Commit 962839eb authored by Darko Poljak's avatar Darko Poljak

Fix beta check.

parent cd628530
......@@ -51,7 +51,7 @@ def check_beta(args_dict):
cmd = args_dict['command']
if cmd in BETA_ARGS:
for arg in BETA_ARGS[cmd]:
if arg in args_dict:
if arg in args_dict and args_dict[arg]:
raise cdist.CdistBetaRequired(cmd, arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment