mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not send files to final place if hostname is empty
This commit is contained in:
parent
e2cc8b1861
commit
e362ec5bce
@ -1938,7 +1938,7 @@ pkg_repo_rsync() {
|
||||
print_error_pfS
|
||||
fi
|
||||
|
||||
if [ -z "${USE_PKG_REPO_STAGING}" ]; then
|
||||
if [ -z "${USE_PKG_REPO_STAGING}" -o -z "${PKG_FINAL_RSYNC_HOSTNAME}" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user