Redirect stderr.

This commit is contained in:
Jeffrey Townsend
2018-06-04 21:14:27 +00:00
parent deae964a4d
commit 6697ea1a52

View File

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