From 6e9b4e3e0d4eb230586844c25bacb0620496c73b Mon Sep 17 00:00:00 2001 From: Ihor Antonov Date: Mon, 27 Feb 2023 08:37:41 -0700 Subject: [PATCH] man 3 daemon: remove double negation Rephrase double negated sentences to improve readability OpenBSD has done the same in the past to their man 3 daemon Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/671 --- lib/libc/gen/daemon.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc/gen/daemon.3 b/lib/libc/gen/daemon.3 index f4129fc47144..bc346e022d4f 100644 --- a/lib/libc/gen/daemon.3 +++ b/lib/libc/gen/daemon.3 @@ -28,7 +28,7 @@ .\" @(#)daemon.3 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd December 23, 2017 +.Dd February 27, 2023 .Dt DAEMON 3 .Os .Sh NAME @@ -48,18 +48,18 @@ The function is for programs wishing to detach themselves from the controlling terminal and run in the background as system daemons. .Pp -Unless the argument +If the argument .Fa nochdir -is non-zero, +is zero, .Fn daemon changes the current working directory to the root .Pq Pa / . .Pp -Unless the argument +If the argument .Fa noclose -is non-zero, +is zero, .Fn daemon -will redirect standard input, standard output, and standard error to +redirects standard input, standard output, and standard error to .Pa /dev/null . .Pp The