This commit is contained in:
Koushik Dutta 2010-06-21 08:16:19 -07:00
parent a6522b3584
commit e25908bd87
2 changed files with 4 additions and 0 deletions

View File

@ -598,6 +598,8 @@ int run_script(char* filename)
// supposedly not necessary, but let's be safe.
script_data[script_len] = '\0';
fclose(file);
LOGI("Running script:\n");
LOGI("\n%s\n", script_data);
int ret = run_script_from_buffer(script_data, script_len, filename);
free(script_data);

View File

@ -478,6 +478,8 @@ print_property(const char *key, const char *name, void *cookie)
int
main(int argc, char **argv)
{
LOGI(EXPAND(RECOVERY_VERSION)"\n");
if (strstr(argv[0], "recovery") == NULL)
{
if (strstr(argv[0], "flash_image") != NULL)