mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 01:07:01 +00:00
Redirect stderr.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user