in main/vmWatch.go [383:397]
func getSystemdVersion() int {
cmd := exec.Command("systemd-run", "--version")
// Execute the command and capture the output
output, err := cmd.CombinedOutput()
if err != nil {
return 0
}
// Convert output bytes to string
outputStr := string(output)
// Find the version information in the output
return extractVersion(outputStr)
}