fix a regression in trigger_get_grub_boot_dev()

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1469 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-03-13 23:24:21 +00:00
parent 0413e4ec47
commit d8afb23ab8
+1 -1
View File
@@ -6620,7 +6620,7 @@ timeout=10
)
return "(hd0,0)"
match = re.subn("[a-z/]","",gboot)
gpartnum = str(int(gdisk)-1)
gpartnum = str(int(match[0])-1)
# now match with grub
device_map = etpConst['packagestmpdir']+"/grub.map"
if os.path.isfile(device_map):