Compare commits

...

2 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen b1b9fdc2d8 Fix READYFD example in daemon(7). 2022-10-21 22:51:25 +02:00
Jonas 'Sortie' Termansen 64e23ccb22 Fix init(5) example saying a non-virtual daemon is virtual. 2022-10-21 21:05:58 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ The
.Sy optional
flag should only be omitted if a local daemon is critical and the boot should
fail if the daemon fails.
.Ss Creating a new virtual daemon
.Ss Creating a new daemon
The
.Sy exampled
daemon, which depends on the

View File

@ -102,7 +102,7 @@ static void ready(void) {
if ( !readyfd_env )
return;
int readyfd = atoi(readyfd_env);
char c = '\n';
char c = '\\n';
write(readyfd, &c, 1);
close(readyfd);
unsetenv("READYFD");