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
ef37ef8335
commit
3b61a48b9f
@ -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 New Issue
Block a user