fix: Display shutdown counter

This commit is contained in:
Kroese 2023-11-11 17:05:58 +01:00 committed by GitHub
parent db47f561d3
commit 4134d9e3d3

View File

@ -54,8 +54,8 @@ _graceful_shutdown() {
sleep 1
#CNT="$(cat ${_QEMU_SHUTDOWN_COUNTER})/${QEMU_POWERDOWN_TIMEOUT}"
#[[ "${DEBUG}" == [Yy1]* ]] && info "Shutting down, waiting... (${CNT})"
CNT="$(cat ${_QEMU_SHUTDOWN_COUNTER})/${QEMU_POWERDOWN_TIMEOUT}"
[[ "${DEBUG}" == [Yy1]* ]] && info "Shutting down, waiting... (${CNT})"
fi