urlfetcher: Fix error reporting if fetching kernel fails (bz 1017419)
This commit is contained in:
parent
8dcb65bd50
commit
8b42bca801
|
@ -506,7 +506,7 @@ class Distro(object):
|
|||
try:
|
||||
initrd = self.fetcher.acquireFile(initrdpath)
|
||||
return kernel, initrd, args
|
||||
except:
|
||||
finally:
|
||||
os.unlink(kernel)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue