pxe: bugfix FORCE env var

This commit is contained in:
pedro 2024-09-25 09:39:41 -03:00
parent f51f38d677
commit 2a0f9371e1
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ extract_live_parts_for_tftp() {
install_netboot() {
# if you want to refresh install, remove or move dir
if [ ! -d "${tftp_path}" ] || [ "${FORCE}" ]; then
if [ ! -d "${tftp_path}" ] || [ "${FORCE:-}" ]; then
mkdir -p "${tftp_path}"
cd "${tftp_path}"
if [ -f /tmp/live.iso ]; then