diff options
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 88132d2..db529bb 100644 --- a/src/service.c +++ b/src/service.c | |||
@@ -91,11 +91,11 @@ LIBIMOBILEDEVICE_API service_error_t service_client_factory_start_service(idevic | |||
91 | } | 91 | } |
92 | 92 | ||
93 | lockdownd_service_descriptor_t service = NULL; | 93 | lockdownd_service_descriptor_t service = NULL; |
94 | lockdownd_start_service(lckd, service_name, &service); | 94 | lockdownd_error_t lerr = lockdownd_start_service(lckd, service_name, &service); |
95 | lockdownd_client_free(lckd); | 95 | lockdownd_client_free(lckd); |
96 | 96 | ||
97 | if (!service || service->port == 0) { | 97 | if (!service || service->port == 0) { |
98 | debug_info("Could not start service %s!", service_name); | 98 | debug_info("Could not start service %s: %s", service_name, lockdownd_strerror(lerr)); |
99 | return SERVICE_E_START_SERVICE_ERROR; | 99 | return SERVICE_E_START_SERVICE_ERROR; |
100 | } | 100 | } |
101 | 101 | ||