Skip to content
Snippets Groups Projects
Commit 149a1f56 authored by Bob Lantz's avatar Bob Lantz
Browse files

Apparently errRun isn't as flexible as I thought...

parent 197b083f
No related branches found
No related tags found
No related merge requests found
......@@ -316,8 +316,8 @@ def mountCgroups():
if 'cgroups on %s' % cgdir not in mounts:
raise Exception( "cgroups not mounted on " + cgdir )
if 'cpuset on %s' % csdir not in mounts:
errRun( 'mkdir -p', csdir )
errRun( 'mount -t cgroup -ocpuset cpuset', csdir )
errRun( 'mkdir -p ' + csdir )
errRun( 'mount -t cgroup -ocpuset cpuset ' + csdir )
def natural( text ):
"To sort sanely/alphabetically: sorted( l, key=natural )"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment