Skip to content

Commit da233c7

Browse files
author
Daan Hoogland
committed
2 parents d8eb2e5 + 7bce656 commit da233c7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

scripts/vm/hypervisor/kvm/kvmheartbeat.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ then
156156
elif [ "$cflag" == "1" ]
157157
then
158158
/usr/bin/logger -t heartbeat "kvmheartbeat.sh rebooted system because it was unable to write the heartbeat to the storage."
159-
sync
159+
sync &
160+
sleep 5
160161
echo b > /proc/sysrq-trigger
161162
exit $?
162163
else

0 commit comments

Comments
 (0)