Collect output from modprobe.

This commit is contained in:
Jeffrey Townsend
2018-06-04 08:56:52 -07:00
parent 56bf7f1b23
commit 2c5f7334e1

View File

@@ -1065,7 +1065,7 @@ class InitrdContext(SubprocessMixin):
if "efivarfs" not in buf:
cmd = ('modprobe', 'efivarfs',)
try:
self.check_call(cmd, vmode=self.V1)
self.check_output(cmd, vmode=self.V1)
except subprocess.CalledProcessError:
pass