diff options
author | Nikias Bassen | 2013-09-24 10:56:41 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-09-24 10:56:41 +0200 |
commit | ae6550a4375d6871e63a06823edf4e0324210b2a (patch) | |
tree | 1756d49322a75323b51a2f1e150b84d46107d363 | |
parent | 9b33c64b51c8bd216ba4e4483f445f61efe257f7 (diff) | |
download | libimobiledevice-ae6550a4375d6871e63a06823edf4e0324210b2a.tar.gz libimobiledevice-ae6550a4375d6871e63a06823edf4e0324210b2a.tar.bz2 |
idevicesyslog: print [disconnected] if device is removed
-rw-r--r-- | tools/idevicesyslog.c | 1 |
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) } else if (event->event == IDEVICE_DEVICE_REMOVE) { if (syslog && (strcmp(udid, event->udid) == 0)) { stop_logging(); + fprintf(stdout, "[disconnected]\n"); } } } |