usage bb_dev_null

This commit is contained in:
"Vladimir N. Oleynik"
2005-10-12 15:34:25 +00:00
parent 86a1073e0b
commit 6c35c7c976
12 changed files with 14 additions and 15 deletions

View File

@@ -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));
}