summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-17 15:40:34 +0200
committerGravatar Nikias Bassen2012-07-17 15:40:34 +0200
commitc4d1da0e7148f35bd2b3a95920aa9ea426dfbd1e (patch)
tree0a54649eca2e1d05cdd36ab5096125e50ed30503 /src
parentc72455263b9b0c66d8521e1017080cf3c8e40706 (diff)
downloadidevicerestore-c4d1da0e7148f35bd2b3a95920aa9ea426dfbd1e.tar.gz
idevicerestore-c4d1da0e7148f35bd2b3a95920aa9ea426dfbd1e.tar.bz2
restore: return error value instead of 0 in restore_device
Diffstat (limited to 'src')
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index 5da614f..402de78 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1478,5 +1478,5 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
}
restore_client_free(client);
- return 0;
+ return error;
}