summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-10-12 15:34:25 +0000
committer"Vladimir N. Oleynik"2005-10-12 15:34:25 +0000
commit6c35c7c97628cb81eb26c2a059b0dde2879d91aa (patch)
tree0da08a6d852fcb5d68bbe3a368460ed815b74923 /shell
parent86a1073e0bfa608defbfaa43d94a537c5e700efe (diff)
downloadbusybox-6c35c7c97628cb81eb26c2a059b0dde2879d91aa.zip
busybox-6c35c7c97628cb81eb26c2a059b0dde2879d91aa.tar.gz
usage bb_dev_null
Diffstat (limited to 'shell')
-rw-r--r--shell/msh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c
index 25c98a4..30ebc7a 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -2714,7 +2714,7 @@ int act;
interactive = 0;
if (pin == NULL) {
close(0);
- open("/dev/null", 0);
+ open(bb_dev_null, 0);
}
_exit(execute(t->left, pin, pout, FEXEC));
}