Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 228f8261 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "delete_file() should force removal." into lmp-dev

parents 41df668c 41b3cfa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);