kvm-host: Fix regression on old Debian

This commit is contained in:
Brice Waegeneire 2023-11-21 16:17:48 +01:00
parent 736ed26036
commit 239065bf36

View file

@ -231,7 +231,7 @@ EOT
if ! isDryRun; then
sleep 5
drbdadm status | tail -4
( drbdadm status || drbd-overview ) 2>/dev/null | tail -4
drbdDiskPath="/dev/drbd/by-res/${vmName}/0"
if ! [ -b "${drbdDiskPath}" ]; then