Damans227 commented on code in PR #14331:
URL: https://github.com/apache/cloudstack/pull/14331#discussion_r4205334324
##########
scripts/vm/hypervisor/kvm/kvmsmpheartbeat.sh:
##########
@@ -112,8 +123,8 @@ deleteVMs() {
done
}
-#checking is there the mount point present under $MountPoint?
-if grep -q "^[^ ]\+ $MountPoint " /proc/mounts
+#checking is the filesystem of $MountPoint mounted?
+if is_on_mounted_fs "$MountPoint"
Review Comment:
looks like this branch cant run anymore, the check at the top already exits
when the path isnt on a mounted filesystem. should we drop it, or kill the vms
before that first exit?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]