Merge "delete_file() should force removal." into lmp-dev
This commit is contained in:
commit
228f8261fd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue