diff options
author | Nikias Bassen | 2013-12-01 19:14:38 +0100 |
---|---|---|
committer | Nikias Bassen | 2013-12-01 19:14:38 +0100 |
commit | 55b99099d306724e186f1683933bc599a083973a (patch) | |
tree | 64594a1843d1cf349569058bd47e88ff0a0b0395 | |
parent | 4af79dd3091bd09d3ff4e460e40e25491fb965dd (diff) | |
download | idevicerestore-55b99099d306724e186f1683933bc599a083973a.tar.gz idevicerestore-55b99099d306724e186f1683933bc599a083973a.tar.bz2 |
remove version.xml if parsing fails
-rw-r--r-- | src/idevicerestore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 70afd77..30ea7f9 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -146,6 +146,7 @@ static int load_version_data(struct idevicerestore_client_t* client) free(verbuf); if (!client->version_data) { + remove(version_xml); error("ERROR: Cannot parse plist data from '%s'.\n", version_xml); return -1; } |