@ -348,7 +348,7 @@ else:
try:
kernel_name = [fname for fname in glob.glob("/boot/vmlinuz-*") if "openvz" in fname][0].split("/vmlinuz-")[-1]
except IndexError, e:
# No suitable kernel found! TODO: Error out
# No suitable kernel found!
sys.stderr.write("ERROR: Could not find an OpenVZ kernel image to add to the GRUB\n")
sys.stderr.write("configuration! Most likely, installation failed. Aborting...\n")
exit(1)