diff options
author | dteske <dteske@FreeBSD.org> | 2013-09-07 03:27:13 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-09-07 03:27:13 +0000 |
commit | 3b61a48b9f5477a16200438661adf4f782eec118 (patch) | |
tree | 37cbbb91126e1f6ed88c347b223b0c6ac9945a33 /usr.sbin | |
parent | ef37ef83350cbc5080740b4ed9597ea59d058a59 (diff) | |
download | FreeBSD-src-3b61a48b9f5477a16200438661adf4f782eec118.zip FreeBSD-src-3b61a48b9f5477a16200438661adf4f782eec118.tar.gz |
Remove unnecessary mediaClose (FTP operations are done with either ftp(1)
or fetch(1), neither of which are stateful, compared to how sysinstall(8)
did FTP operations, maintaining an open session until mediaClose).
Diffstat (limited to 'usr.sbin')
-rwxr-xr-x | usr.sbin/bsdconfig/examples/browse_packages.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/examples/browse_packages.sh b/usr.sbin/bsdconfig/examples/browse_packages.sh index 18ab93b..1deb562 100755 --- a/usr.sbin/bsdconfig/examples/browse_packages.sh +++ b/usr.sbin/bsdconfig/examples/browse_packages.sh @@ -19,7 +19,6 @@ if [ ! -e "$TMPDIR/packages/INDEX" ]; then mediaOpen f_show_info "Downloading packages/INDEX from\n %s" "$_ftpPath" f_device_get media packages/INDEX > $TMPDIR/packages/INDEX - mediaClose fi _directoryPath=$TMPDIR mediaSetDirectory |