Skip to content

Commit

Permalink
fix a NSLog error
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfugil committed Dec 25, 2023
1 parent d4e0d9a commit f9e27f9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/fakedyld/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export CFLAGS LDFLAGS
all: $(patsubst %, %-all, $(SUBDIRS)) dyld

clean: $(patsubst %, %-clean, $(SUBDIRS))
rm -f dyld
rm -rf dyld dyld.dSYM

dyld: $(patsubst %, %-all, $(SUBDIRS))
$(CC) $(CFLAGS) $(LDFLAGS) $$(find . -name '*.o' | grep 'obj/.*o') -o dyld
Expand Down
2 changes: 1 addition & 1 deletion src/payload/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ $(patsubst %, %-clean, $(SUBDIRS)):
$(MAKE) -C $$(echo $@ | cut -d- -f1) clean

clean: $(patsubst %, %-clean, $(SUBDIRS))
rm -rf payload $(OBJDIR) launchctl/*.o
rm -rf payload payload.dSYM $(OBJDIR) launchctl/*.o

.PHONY: all $(patsubst %, %-all, $(SUBDIRS)) $(patsubst %, %-clean, $(SUBDIRS))
2 changes: 1 addition & 1 deletion src/payload/jailbreakd/bootstrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ void bootstrap(xpc_object_t xrequest, xpc_object_t xreply, struct paleinfo* pinf
NSLog(CFSTR("loading %s"), launch_path);
ret = bootstrap_cmd(&msg, 3, (char*[]){ "bootstrap", "system", launch_path, NULL }, environ, (char*[]){ NULL });

NSLog(CFSTR("bootstrap_cmd returned %d"), bootstrap_cmd);
NSLog(CFSTR("bootstrap_cmd returned %d"), ret);

if (pinfo->flags & palerain_option_rootless) {
xpc_dictionary_set_string(xreply, "bootstrapRootPath", finalBootstrapPath);
Expand Down
2 changes: 1 addition & 1 deletion src/payload_dylib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ payload.dylib: $(OBJS)
$(LDID) -S $@

clean:
rm -rf payload.dylib* obj
rm -rf payload.dylib* payload.dylib.dSYM obj

.PHONY: all clean
2 changes: 1 addition & 1 deletion src/rootfulhooks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ rootfulhooks.dylib: $(OBJS) $(ELLEKIT)
$(LDID) -S $@

clean:
rm -rf rootfulhooks.dylib* obj
rm -rf rootfulhooks.dylib* rootfulhooks.dylib.dSYM obj

.PHONY: all clean
2 changes: 1 addition & 1 deletion src/rootlesshooks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ rootlesshooks.dylib: $(OBJS) $(ELLEKIT)
$(LDID) -S $@

clean:
rm -rf rootlesshooks.dylib* obj
rm -rf rootlesshooks.dylib* rootlesshooks.dylib.dSYM obj

.PHONY: all clean

0 comments on commit f9e27f9

Please sign in to comment.