summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Rudolf Tammekivi2018-02-01 14:07:54 +0200
committerGravatar Nikias Bassen2019-05-08 17:48:56 +0200
commit4a7f0b01483f2b1e3c11447bb4654b181deacf41 (patch)
tree34aa628020bb8cd0a9e5553af75c0e4715d6e850 /src
parent46e6e2a0a22f99acd98239c948ec1d36f5d07542 (diff)
downloadideviceinstaller-4a7f0b01483f2b1e3c11447bb4654b181deacf41.tar.gz
ideviceinstaller-4a7f0b01483f2b1e3c11447bb4654b181deacf41.tar.bz2
Do not bail when notification is sent too early
Diffstat (limited to 'src')
-rw-r--r--src/ideviceinstaller.c2
1 files changed, 1 insertions, 1 deletions
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);
}