From 149a1f56390e3b73d2014bda9e2502c49f950adf Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Sun, 8 Apr 2012 17:30:14 -0700 Subject: [PATCH] Apparently errRun isn't as flexible as I thought... --- mininet/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mininet/util.py b/mininet/util.py index 8fe3f368..6016cd3c 100644 --- a/mininet/util.py +++ b/mininet/util.py @@ -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 )" -- GitLab