We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c3058f commit 8c1d473Copy full SHA for 8c1d473
init/init.c
@@ -766,8 +766,8 @@ static int config_parse_file(char ***argv, char **workdir)
766
entrypoint = NULL;
767
parsed_env = parsed_workdir = parsed_args = parsed_entrypoint = 0;
768
769
- for (i = 1;
770
- i < num_tokens && (!parsed_env || !parsed_args || !parsed_workdir);
+ for (i = 1; i < num_tokens && (!parsed_env || !parsed_args ||
+ !parsed_workdir || !parsed_entrypoint);
771
i++) {
772
if (!parsed_env && jsoneq(data, &tokens[i], "Env") == 0 &&
773
(i + 1) < num_tokens && tokens[i + 1].type == JSMN_ARRAY) {
0 commit comments