From 2a0f9371e1e43a1e1860a30750cbd4e98aa2d7c7 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 25 Sep 2024 09:39:41 -0300 Subject: [PATCH] pxe: bugfix FORCE env var --- pxe/install-pxe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxe/install-pxe.sh b/pxe/install-pxe.sh index 8b1ff2e..117ac4e 100755 --- a/pxe/install-pxe.sh +++ b/pxe/install-pxe.sh @@ -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