sandbox: Correct handling of --rm_memory
This option has no argument so we should not trip to skip one. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -690,7 +690,6 @@ static int add_args(char ***argvp, char *add_args[], int count)
|
||||
continue;
|
||||
}
|
||||
} else if (!strcmp(arg, "--rm_memory")) {
|
||||
ap++;
|
||||
continue;
|
||||
}
|
||||
argv[argc++] = arg;
|
||||
|
||||
Reference in New Issue
Block a user