diff options
Diffstat (limited to 'tools/iphonebackup.c')
| -rw-r--r-- | tools/iphonebackup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/iphonebackup.c b/tools/iphonebackup.c index c0f2276..15a0495 100644 --- a/tools/iphonebackup.c +++ b/tools/iphonebackup.c | |||
| @@ -603,8 +603,7 @@ int main(int argc, char *argv[]) | |||
| 603 | node_tmp = plist_array_get_item(message, 1); | 603 | node_tmp = plist_array_get_item(message, 1); |
| 604 | manifest_plist = plist_dict_get_item(node_tmp, "BackupManifestKey"); | 604 | manifest_plist = plist_dict_get_item(node_tmp, "BackupManifestKey"); |
| 605 | if (manifest_plist) { | 605 | if (manifest_plist) { |
| 606 | if (stat(manifest_path, &st) != 0) | 606 | remove(manifest_path); |
| 607 | remove(manifest_path); | ||
| 608 | printf("Storing Manifest.plist...\n"); | 607 | printf("Storing Manifest.plist...\n"); |
| 609 | plist_write_to_filename(manifest_plist, manifest_path, PLIST_FORMAT_XML); | 608 | plist_write_to_filename(manifest_plist, manifest_path, PLIST_FORMAT_XML); |
| 610 | } | 609 | } |
