do not check the results of a run_program if script asserts are disabled
This commit is contained in:
parent
007439bef6
commit
69b75410de
@ -397,7 +397,7 @@ cmd_run_program(const char *name, void *cookie, int argc, const char *argv[],
|
||||
|
||||
int status;
|
||||
waitpid(pid, &status, 0);
|
||||
if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
|
||||
if (WIFEXITED(status) && WEXITSTATUS(status) == 0 || !script_assert_enabled) {
|
||||
return 0;
|
||||
} else {
|
||||
LOGE("Error in %s\n(Status %d)\n", path, status);
|
||||
|
Loading…
Reference in New Issue
Block a user