commit | 3c39e03c08094ce65608cae8a45dd726cf10b5c3 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Mar 06 01:01:08 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Mar 06 01:01:08 2014 +0000 |
tree | 8b7eda08854f5c69f5bfcf3cc8c9f07ba9e27064 | |
parent | e19c99aad605c395f53bf39ae1a27e298e7e33ce [diff] | |
parent | f53dbfeda39c290ed67b0682d559a80cb42ceb79 [diff] |
Merge "Don't pass in empty arg to dex2oat."
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index f8f078c..a167be0 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c
@@ -623,7 +623,7 @@ execl(DEX2OAT_BIN, DEX2OAT_BIN, zip_fd_arg, zip_location_arg, oat_fd_arg, oat_location_arg, - dex2oat_flags, + strlen(dex2oat_flags) > 0 ? dex2oat_flags : NULL, (char*) NULL); ALOGE("execl(%s) failed: %s\n", DEX2OAT_BIN, strerror(errno)); }