logging
This commit is contained in:
parent
a6522b3584
commit
e25908bd87
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user