From f2847b50bd3d167bd216a76e43c64ec0a7855265 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