Page MenuHomeFreeBSD

D35113.id105638.diff
No OneTemporary

D35113.id105638.diff

diff --git a/usr.sbin/bsdinstall/scripts/script b/usr.sbin/bsdinstall/scripts/script
--- a/usr.sbin/bsdinstall/scripts/script
+++ b/usr.sbin/bsdinstall/scripts/script
@@ -115,12 +115,13 @@
bsdinstall mount
# Fetch missing distribution files, if any
-exec 3>&1
-export BSDINSTALL_DISTDIR=$(`dirname $0`/fetchmissingdists 2>&1 1>&3)
-FETCH_RESULT=$?
-exec 3>&-
-
-[ $FETCH_RESULT -ne 0 ] && error "Could not fetch remote distributions"
+(
+ exec 3>&1
+ export BSDINSTALL_DISTDIR=$(`dirname $0`/fetchmissingdists 2>&1 1>&3)
+ FETCH_RESULT=$?
+ exec 3>&-
+ return $FETCH_RESULT
+) || error "Could not fetch remote distributions"
# Unpack distributions
bsdinstall checksum

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 5:50 PM (10 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16094171
Default Alt Text
D35113.id105638.diff (677 B)

Event Timeline