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

Commit 190a48b6 authored by Koushik Dutta's avatar Koushik Dutta
Browse files

nandroid: Fix nonexistent backup format type bug.

Change-Id: Ia5d6832137700b542c88b3c8d14efdd470bd195d
parent a3870b17
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -208,6 +208,7 @@ static void refresh_default_backup_handler() {
        FILE* f = fopen(NANDROID_BACKUP_FORMAT_FILE, "r");
        if (NULL == f) {
            default_backup_handler = tar_compress_wrapper;
            return;
        }
        fread(fmt, 1, sizeof(fmt), f);
        fclose(f);