diff options
author | jkh <jkh@FreeBSD.org> | 1994-11-21 06:18:30 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-11-21 06:18:30 +0000 |
commit | 894a717f36f91a64d5cdcc2769377eae8bfbb85d (patch) | |
tree | d2ce9ed9556790231f55dd79a9c72d0a7c063b5f /release/instdist.sh | |
parent | b4b53f4e50605a8e1be919885133dfa6402cea4b (diff) | |
download | FreeBSD-src-894a717f36f91a64d5cdcc2769377eae8bfbb85d.zip FreeBSD-src-894a717f36f91a64d5cdcc2769377eae8bfbb85d.tar.gz |
Redirect cd errors properly to /dev/ttyv1
Diffstat (limited to 'release/instdist.sh')
-rw-r--r-- | release/instdist.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/instdist.sh b/release/instdist.sh index 413eb43..de0ae0f 100644 --- a/release/instdist.sh +++ b/release/instdist.sh @@ -10,7 +10,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: instdist.sh,v 1.20 1994/11/21 05:36:00 jkh Exp $ +# $Id: instdist.sh,v 1.21 1994/11/21 06:15:30 jkh Exp $ if [ "$_INSTINST_SH_LOADED_" = "yes" ]; then return 0 @@ -79,7 +79,7 @@ storage."; then return 1; fi media_cd_tmpdir() { - if ! cd $tmp_dir; then + if ! cd $tmp_dir > /dev/ttyv1 2>&1; then error "No such file or directory for ${tmp_dir}, sorry! Please fix this and try again." return 1 fi @@ -195,7 +195,7 @@ media_install_set() { case $media_type in cdrom|nfs|ufs|doshd) - if ! cd ${media_device}/${media_distribution}; then + if ! cd ${media_device}/${media_distribution} > /dev/ttyv1 2>&1; then error "Unable to cd to ${media_device}/${media_distribution} directory." else media_extract_dist |