mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-01 17:41:54 +01:00
cgroups: Strip shutils log message from run_into output
This commit is contained in:
@@ -393,7 +393,10 @@ class CgroupsModule(Module):
|
||||
:returns: Output of command.
|
||||
"""
|
||||
cmd = self.run_into_cmd(cgroup, cmdline)
|
||||
return self.target.execute(cmd)
|
||||
raw_output = self.target.execute(cmd)
|
||||
|
||||
# First line of output comes from shutils; strip it out.
|
||||
return raw_output.split('\n', 1)[1]
|
||||
|
||||
def cgroups_tasks_move(self, srcg, dstg, exclude=''):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user