summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicesyslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 1c6e0c7..bd73f88 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -663,7 +663,7 @@ static void device_event_cb(const idevice_event_t* event, void* userdata)
663 return; 663 return;
664 } 664 }
665 if (event->event == IDEVICE_DEVICE_ADD) { 665 if (event->event == IDEVICE_DEVICE_ADD) {
666 if (!syslog) { 666 if (!syslog && !ostrace) {
667 if (!udid) { 667 if (!udid) {
668 udid = strdup(event->udid); 668 udid = strdup(event->udid);
669 } 669 }