summaryrefslogtreecommitdiff
path: root/src/nohup.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-03-27 15:01:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-03-27 15:02:35 -0700
commit9b2782ca6dcdb756322d50e9ce8f54b50c24ea3e (patch)
tree27956368f4b1397e78f89eb8117e854aab10fa33 /src/nohup.c
parentcbed4b33762d9e42f403f3b5d15650ae925faa64 (diff)
downloadcoreutils-9b2782ca6dcdb756322d50e9ce8f54b50c24ea3e.tar.xz
nohup: clarify stdin redirection
Problem reported by Isaac Schwabacher in: http://bugs.gnu.org/20214 * doc/coreutils.texi (nohup invocation): Clarify that when nohup's stdin gets redirected, it's unreadable. * doc/coreutils.texi (nohup invocation): * src/nohup.c (usage): Don't promise /dev/null.
Diffstat (limited to 'src/nohup.c')
-rw-r--r--src/nohup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nohup.c b/src/nohup.c
index 9bc868604..8cdacedb8 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -63,7 +63,7 @@ Run COMMAND, ignoring hangup signals.\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (_("\n\
-If standard input is a terminal, redirect it from /dev/null.\n\
+If standard input is a terminal, redirect it from an unreadable file.\n\
If standard output is a terminal, append output to 'nohup.out' if possible,\n\
'$HOME/nohup.out' otherwise.\n\
If standard error is a terminal, redirect it to standard output.\n\