Author: ian
Date: Wed Oct  2 23:06:17 2019
New Revision: 353024
URL: https://svnweb.freebsd.org/changeset/base/353024

Log:
  Clarify how the -f option for daemon(8) interacts with other options
  related to redirecting stdout and stderr.

Modified:
  head/usr.sbin/daemon/daemon.8

Modified: head/usr.sbin/daemon/daemon.8
==============================================================================
--- head/usr.sbin/daemon/daemon.8       Wed Oct  2 21:49:39 2019        
(r353023)
+++ head/usr.sbin/daemon/daemon.8       Wed Oct  2 23:06:17 2019        
(r353024)
@@ -63,6 +63,11 @@ Change the current working directory to the root
 .It Fl f
 Redirect standard input, standard output and standard error to
 .Pa /dev/null .
+When this option is used together with any of the options related to file
+or syslog output, the standard file descriptors are first redirected to
+.Pa /dev/null ,
+then stdout and/or stderr is redirected to a file or to syslog as
+specified by the other options.
 .It Fl S
 Enable syslog output.
 This is implicitly applied if other syslog parameters are provided.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to