From 4a7f0b01483f2b1e3c11447bb4654b181deacf41 Mon Sep 17 00:00:00 2001
From: Rudolf Tammekivi
Date: Thu, 1 Feb 2018 14:07:54 +0200
Subject: Do not bail when notification is sent too early

---
 src/ideviceinstaller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c
index fbd24d0..134579d 100644
--- a/src/ideviceinstaller.c
+++ b/src/ideviceinstaller.c
@@ -333,7 +333,7 @@ static void idevice_wait_for_command_to_complete()
 
 	/* wait for command to complete */
 	while (wait_for_command_complete && !command_completed && !err_occurred
-		   && !notified && is_device_connected) {
+		   && is_device_connected) {
 		nanosleep(&ts, NULL);
 	}
 
-- 
cgit v1.1-32-gdbae