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 buf[4096];
|
||||||
char* quoted;
|
char* quoted;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "shell:rm ");
|
snprintf(buf, sizeof(buf), "shell:rm -f ");
|
||||||
quoted = escape_arg(filename);
|
quoted = escape_arg(filename);
|
||||||
strncat(buf, quoted, sizeof(buf)-1);
|
strncat(buf, quoted, sizeof(buf)-1);
|
||||||
free(quoted);
|
free(quoted);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue