mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-23 18:33:41 +08:00
fix: Display shutdown counter
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user