mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
cgroups: Strip shutils log message from run_into output
This commit is contained in:
parent
d0e28f0a89
commit
de61937d09
@ -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=''):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user