Skip to content

Commit

Permalink
Improve code format
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Jan 1, 2025
1 parent 2cab076 commit ef7a592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseBin/systemhook/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ __attribute__((constructor)) static void initializer(void)
// We can hardcode /var/jb here since if it doesn't exist, loading TweakLoader.dylib is not going to work anyways
if (should_enable_tweaks()) {
const char *tweakLoaderPath = "/var/jb/usr/lib/TweakLoader.dylib";
if(access(tweakLoaderPath, F_OK) == 0) {
if (access(tweakLoaderPath, F_OK) == 0) {
void *tweakLoaderHandle = dlopen(tweakLoaderPath, RTLD_NOW);
if (tweakLoaderHandle != NULL) {
dlclose(tweakLoaderHandle);
Expand Down

0 comments on commit ef7a592

Please sign in to comment.