commit | 69b75410de021a8beec340c28a9d9f222cb6e53f | [log] [tgz] |
---|---|---|
author | Koushik K. Dutta <koushd@gmail.com> | Tue Feb 23 18:07:31 2010 -0800 |
committer | Koushik K. Dutta <koushd@gmail.com> | Tue Feb 23 18:07:31 2010 -0800 |
tree | 1a61ee6dfbe20cfcb507912a36f6790e50350549 | |
parent | 007439bef67853585ec03c44a0606f369d69b2e2 [diff] [blame] |
do not check the results of a run_program if script asserts are disabled
diff --git a/commands.c b/commands.c index e6fb9be..a60366f 100644 --- a/commands.c +++ b/commands.c
@@ -397,7 +397,7 @@ 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);