aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-12 15:34:25 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-10-12 15:34:25 +0000
commit6c35c7c97628cb81eb26c2a059b0dde2879d91aa (patch)
tree0da08a6d852fcb5d68bbe3a368460ed815b74923 /coreutils
parent86a1073e0bfa608defbfaa43d94a537c5e700efe (diff)
downloadbusybox-6c35c7c97628cb81eb26c2a059b0dde2879d91aa.tar.gz
usage bb_dev_null
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)
Note that it is deliberately opened for *writing*,
to ensure any read evokes an error. */
if (isatty (STDIN_FILENO))
- fd_reopen (STDIN_FILENO, "/dev/null", 0);
+ fd_reopen (STDIN_FILENO, bb_dev_null, 0);
/* If standard output is a tty, redirect it (appending) to a file.
First try nohup.out, then $HOME/nohup.out. */