diff --git a/src/fakedyld/Makefile b/src/fakedyld/Makefile index f9608b3..e2047f1 100644 --- a/src/fakedyld/Makefile +++ b/src/fakedyld/Makefile @@ -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 diff --git a/src/payload/Makefile b/src/payload/Makefile index a238396..002659c 100644 --- a/src/payload/Makefile +++ b/src/payload/Makefile @@ -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)) diff --git a/src/payload/jailbreakd/bootstrap.c b/src/payload/jailbreakd/bootstrap.c index 5ae9a90..0ba3745 100644 --- a/src/payload/jailbreakd/bootstrap.c +++ b/src/payload/jailbreakd/bootstrap.c @@ -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); diff --git a/src/payload_dylib/Makefile b/src/payload_dylib/Makefile index 333b0b9..633c8c8 100644 --- a/src/payload_dylib/Makefile +++ b/src/payload_dylib/Makefile @@ -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 diff --git a/src/rootfulhooks/Makefile b/src/rootfulhooks/Makefile index b55cf7b..2b62878 100644 --- a/src/rootfulhooks/Makefile +++ b/src/rootfulhooks/Makefile @@ -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 diff --git a/src/rootlesshooks/Makefile b/src/rootlesshooks/Makefile index 615b44e..08ad4f3 100644 --- a/src/rootlesshooks/Makefile +++ b/src/rootlesshooks/Makefile @@ -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