diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-11 23:29:26 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-11 23:29:26 +0000 |
commit | a8962f3042456ea4a4f35df5b102a5d4ae234a46 (patch) | |
tree | ebd06bdbce0bf33a487388d600d6e5795d089195 /release/bininst | |
parent | f25ce08b128f7a2485e1e5fad83a695754f013a3 (diff) | |
download | FreeBSD-src-a8962f3042456ea4a4f35df5b102a5d4ae234a46.zip FreeBSD-src-a8962f3042456ea4a4f35df5b102a5d4ae234a46.tar.gz |
ncftp can't interact with us. Redirect its input from /dev/null.
Diffstat (limited to 'release/bininst')
-rwxr-xr-x | release/bininst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/bininst b/release/bininst index fe0bacd..d22c305 100755 --- a/release/bininst +++ b/release/bininst @@ -13,7 +13,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: bininst,v 1.28 1994/11/11 08:34:03 jkh Exp $ +# $Id: bininst,v 1.29 1994/11/11 10:55:02 jkh Exp $ # Some useful constants. PATH=/usr/bin:/usr/sbin:/bin:/sbin:/stand @@ -489,7 +489,7 @@ install_set() if ! cd_tmpdir; then return; fi if ! echo $media_device | grep -v 'ftp://'; then message "Fetching distribution using ncftp. Use ALT-F2 to see output, ALT-F1 to return." - if ! ncftp $media_device/* > /dev/ttyv1 2>&1; then + if ! ncftp $media_device/* < /dev/null > /dev/ttyv1 2>&1; then error "Couldn't fetch distribution from ${media_device}!" else extract_dist |