diff options
author | 2022-02-04 02:15:56 +0100 | |
---|---|---|
committer | 2022-02-04 02:15:56 +0100 | |
commit | a64fcc3988f75cb4fc2388013c245e5e884bb96f (patch) | |
tree | 1b122ace4e0c658fbb80a2980a86eabc1114e0d2 /tools/idevicenotificationproxy.c | |
parent | ac89a1fed5ad916c81bca1515b10934e3e01b057 (diff) | |
download | libimobiledevice-a64fcc3988f75cb4fc2388013c245e5e884bb96f.tar.gz libimobiledevice-a64fcc3988f75cb4fc2388013c245e5e884bb96f.tar.bz2 |
tools: Print meaningful error messages when service startup fails
Diffstat (limited to 'tools/idevicenotificationproxy.c')
-rw-r--r-- | tools/idevicenotificationproxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicenotificationproxy.c b/tools/idevicenotificationproxy.c index cfc9260..00bcba8 100644 --- a/tools/idevicenotificationproxy.c +++ b/tools/idevicenotificationproxy.c | |||
@@ -250,7 +250,7 @@ int main(int argc, char *argv[]) | |||
250 | } | 250 | } |
251 | } | 251 | } |
252 | } else { | 252 | } else { |
253 | printf("Could not start notification_proxy service on device.\n"); | 253 | printf("ERROR: Could not start service %s: %s\n", NP_SERVICE_NAME, lockdownd_strerror(ret)); |
254 | } | 254 | } |
255 | 255 | ||
256 | if (service) { | 256 | if (service) { |