summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevicerestore.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index bec855c..0edec02 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -228,6 +228,11 @@ int main(int argc, char* argv[]) {
return -1;
}
+ if ((tss_enabled) && client->tss) {
+ /* fix empty dicts */
+ fixup_tss(client->tss);
+ }
+
// Extract filesystem from IPSW and return its name
char* filesystem = NULL;
if (ipsw_extract_filesystem(client->ipsw, build_identity, &filesystem) < 0) {