mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
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).
This commit is contained in:
parent
7e9ed73522
commit
05f7eb31a2
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue