mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 02:59:49 +02:00
debug libusbmuxd
This commit is contained in:
1 parent
11b594bec6
commit
2a9f65c870
2 files changed
+8
-7
No files matched your search
@@ -152,13 +152,6 @@ checkra1n_exec: {};
|
|||||||
NULL
|
NULL
|
||||||
}, environ);
|
}, environ);
|
||||||
}
|
}
|
||||||
|
|
||||||
waitpid(pid, NULL, 0);
|
|
||||||
if (!external_pongo && pongo_path != NULL) {
|
|
||||||
unlink(pongo_path);
|
|
||||||
}
|
|
||||||
if (pongo_path != NULL) free(pongo_path);
|
|
||||||
pongo_path = NULL;
|
|
||||||
if (ret) {
|
if (ret) {
|
||||||
LOG(LOG_FATAL, "Cannot posix spawn %s: %d (%s)", checkra1n_path, errno, strerror(errno));
|
LOG(LOG_FATAL, "Cannot posix spawn %s: %d (%s)", checkra1n_path, errno, strerror(errno));
|
||||||
if (ext_checkra1n != NULL) unlink(checkra1n_path);
|
if (ext_checkra1n != NULL) unlink(checkra1n_path);
|
||||||
@@ -171,6 +164,12 @@ checkra1n_exec: {};
|
|||||||
free(checkra1n_path);
|
free(checkra1n_path);
|
||||||
checkra1n_path = NULL;
|
checkra1n_path = NULL;
|
||||||
}
|
}
|
||||||
|
waitpid(pid, NULL, 0);
|
||||||
|
if (!external_pongo && pongo_path != NULL) {
|
||||||
|
unlink(pongo_path);
|
||||||
|
}
|
||||||
|
if (pongo_path != NULL) free(pongo_path);
|
||||||
|
pongo_path = NULL;
|
||||||
#if defined(__APPLE__) && defined(__arm64__) && (TARGET_OS_IPHONE || defined(FORCE_HELPER))
|
#if defined(__APPLE__) && defined(__arm64__) && (TARGET_OS_IPHONE || defined(FORCE_HELPER))
|
||||||
if (libcheckra1nhelper_dylib_path != NULL) {
|
if (libcheckra1nhelper_dylib_path != NULL) {
|
||||||
unlink(libcheckra1nhelper_dylib_path);
|
unlink(libcheckra1nhelper_dylib_path);
|
||||||
|
|||||||
@@ -364,8 +364,10 @@ int optparse(int argc, char* argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (verbose >= 2) setenv("LIBUSB_DEBUG", "1", 1);
|
if (verbose >= 2) setenv("LIBUSB_DEBUG", "1", 1);
|
||||||
|
|
||||||
if (verbose >= 3)
|
if (verbose >= 3)
|
||||||
{
|
{
|
||||||
|
libusbmuxd_set_debug_level(verbose - 2);
|
||||||
irecv_set_debug_level(1);
|
irecv_set_debug_level(1);
|
||||||
setenv("LIBUSB_DEBUG", "2", 1);
|
setenv("LIBUSB_DEBUG", "2", 1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user