am 228f8261: Merge "delete_file() should force removal." into lmp-dev

* commit '228f8261fd778e1c03184b5f79f979d1a25abf50':
  delete_file() should force removal.
This commit is contained in:
Jeff Sharkey 2014-09-09 21:56:14 +00:00 committed by Android Git Automerger
commit 84e533d7b0

View file

@ -1870,7 +1870,7 @@ static int delete_file(transport_type transport, char* serial, char* filename)
char buf[4096];
char* quoted;
snprintf(buf, sizeof(buf), "shell:rm ");
snprintf(buf, sizeof(buf), "shell:rm -f ");
quoted = escape_arg(filename);
strncat(buf, quoted, sizeof(buf)-1);
free(quoted);