summaryrefslogtreecommitdiffstats
path: root/tools/idevicesyslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/idevicesyslog.c')
-rw-r--r--tools/idevicesyslog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 5e5ecf3..52a4174 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -114,6 +114,7 @@ static void device_event_cb(const idevice_event_t* event, void* userdata)
114 } else if (event->event == IDEVICE_DEVICE_REMOVE) { 114 } else if (event->event == IDEVICE_DEVICE_REMOVE) {
115 if (syslog && (strcmp(udid, event->udid) == 0)) { 115 if (syslog && (strcmp(udid, event->udid) == 0)) {
116 stop_logging(); 116 stop_logging();
117 fprintf(stdout, "[disconnected]\n");
117 } 118 }
118 } 119 }
119} 120}