Skip to content

Commit c9b0f97

Browse files
Update scripts/vm/hypervisor/kvm/kvmsmpheartbeat.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bca0221 commit c9b0f97

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/vm/hypervisor/kvm/kvmsmpheartbeat.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ fi
9898
deleteVMs() {
9999
local mountPoint=$1
100100
vmPids=$(ps aux | grep qemu | grep "$mountPoint" | awk '{print $2}' 2> /dev/null)
101-
if [ $? -gt 0 ]
102-
then
103-
return
104-
fi
105101

106102
if [ -z "$vmPids" ]
107103
then

0 commit comments

Comments
 (0)