fix cli
This commit is contained in:
parent
77c6790051
commit
f1fb2e6ad2
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ int cli_args(int argc, char **argv, CLIAction *a) {
|
|||
|
||||
a->stageid = stageid;
|
||||
|
||||
if(a->type == CLI_SelectStage && stageid)
|
||||
if(a->type == CLI_SelectStage && !stageid)
|
||||
log_fatal("StageSelect mode, but no stage id was given");
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue