aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-12 15:34:25 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-12 15:34:25 +0000
commit3ccc6852b29b385ffde47f98772b55704b47792a (patch)
tree0da08a6d852fcb5d68bbe3a368460ed815b74923 /coreutils
parent645a928b37cf8f09f3d0648030d5b454753428fc (diff)
downloadbusybox-w32-3ccc6852b29b385ffde47f98772b55704b47792a.tar.gz
busybox-w32-3ccc6852b29b385ffde47f98772b55704b47792a.tar.bz2
busybox-w32-3ccc6852b29b385ffde47f98772b55704b47792a.zip
usage bb_dev_null
git-svn-id: svn://busybox.net/trunk/busybox@11846 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/nohup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/nohup.c b/coreutils/nohup.c
index c457bfd93..febaf547f 100644
--- a/coreutils/nohup.c
+++ b/coreutils/nohup.c
@@ -115,7 +115,7 @@ int nohup_main (int argc, char **argv)
115 Note that it is deliberately opened for *writing*, 115 Note that it is deliberately opened for *writing*,
116 to ensure any read evokes an error. */ 116 to ensure any read evokes an error. */
117 if (isatty (STDIN_FILENO)) 117 if (isatty (STDIN_FILENO))
118 fd_reopen (STDIN_FILENO, "/dev/null", 0); 118 fd_reopen (STDIN_FILENO, bb_dev_null, 0);
119 119
120 /* If standard output is a tty, redirect it (appending) to a file. 120 /* If standard output is a tty, redirect it (appending) to a file.
121 First try nohup.out, then $HOME/nohup.out. */ 121 First try nohup.out, then $HOME/nohup.out. */