summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-09-24 10:56:41 +0200
committerGravatar Nikias Bassen2013-09-24 10:56:41 +0200
commitae6550a4375d6871e63a06823edf4e0324210b2a (patch)
tree1756d49322a75323b51a2f1e150b84d46107d363 /tools
parent9b33c64b51c8bd216ba4e4483f445f61efe257f7 (diff)
downloadlibimobiledevice-ae6550a4375d6871e63a06823edf4e0324210b2a.tar.gz
libimobiledevice-ae6550a4375d6871e63a06823edf4e0324210b2a.tar.bz2
idevicesyslog: print [disconnected] if device is removed
Diffstat (limited to 'tools')
-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)
} else if (event->event == IDEVICE_DEVICE_REMOVE) {
if (syslog && (strcmp(udid, event->udid) == 0)) {
stop_logging();
+ fprintf(stdout, "[disconnected]\n");
}
}
}