summaryrefslogtreecommitdiffstats
path: root/tools/idevicebackup.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicebackup.c')
-rw-r--r--tools/idevicebackup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/idevicebackup.c b/tools/idevicebackup.c
index c0b1645..b8e39bb 100644
--- a/tools/idevicebackup.c
+++ b/tools/idevicebackup.c
@@ -950,7 +950,7 @@ int main(int argc, char *argv[])
if (!message) {
printf("Device is not ready yet. Going to try again in 2 seconds...\n");
sleep(2);
- continue;
+ goto files_out;
}
node = plist_array_get_item(message, 0);
@@ -1078,7 +1078,7 @@ int main(int argc, char *argv[])
/* reset hunk_index */
hunk_index = 0;
}
-
+files_out:
if (quit_flag > 0) {
/* need to cancel the backup here */
mobilebackup_send_error(mobilebackup, "Cancelling DLSendFile");