diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 2a6cb25a..cfdd94c7 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -427,9 +427,9 @@ bootstrap_release_linux() { if [ "${PLATFORM_OS}" = "Linux/Debian" ] || [ "${PLATFORM_OS}" = "Linux/Ubuntu" ]; then # Fetch the Linux flavor - if ! debootstrap --foreign --arch=${ARCH_BOOTSTRAP} --no-check-gpg ${RELEASE} "${bastille_releasesdir}"/${RELEASE}; then + if ! debootstrap --foreign --arch=${ARCH_BOOTSTRAP} --no-check-gpg ${LINUX_FLAVOR} "${bastille_releasesdir}"/${RELEASE}; then ERRORS=$((ERRORS + 1)) - error_notify "[ERROR]: Failed to fetch Linux release: ${RELEASE}" + error_notify "[ERROR]: Failed to fetch Linux release: ${LINUX_FLAVOR}" return 1 fi @@ -732,4 +732,4 @@ if [ "${ERRORS}" -eq 0 ]; then echo else error_exit "[ERROR]: Bootstrap failed!" -fi \ No newline at end of file +fi