am 228f8261: Merge "delete_file() should force removal." into lmp-dev
* commit '228f8261fd778e1c03184b5f79f979d1a25abf50': delete_file() should force removal.
This commit is contained in:
commit
84e533d7b0
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…
Add table
Reference in a new issue