From ae6550a4375d6871e63a06823edf4e0324210b2a Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 24 Sep 2013 10:56:41 +0200 Subject: idevicesyslog: print [disconnected] if device is removed --- tools/idevicesyslog.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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) } else if (event->event == IDEVICE_DEVICE_REMOVE) { if (syslog && (strcmp(udid, event->udid) == 0)) { stop_logging(); + fprintf(stdout, "[disconnected]\n"); } } } -- cgit v1.1-32-gdbae