You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Make sure logs are always ended with newline
This commit is contained in:
@@ -44,7 +44,7 @@ int app_process_main(int argc, char *argv[]) {
|
||||
if (fork_dont_care() == 0) {
|
||||
// This fd has to survive exec
|
||||
fcntl(fds[1], F_SETFD, 0);
|
||||
snprintf(buf, sizeof(buf), "%d", fds[1]);
|
||||
ssprintf(buf, sizeof(buf), "%d", fds[1]);
|
||||
#if defined(__LP64__)
|
||||
execlp("magisk", "", "zygisk", "passthrough", buf, "1", (char *) nullptr);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user