We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db6cdc commit ef59cd8Copy full SHA for ef59cd8
1 file changed
mininet/node.py
@@ -674,7 +674,7 @@ def cgroupDel( self ):
674
"Clean up our cgroup"
675
# info( '*** deleting cgroup', self.cgroup, '\n' )
676
_out, _err, exitcode = errRun( 'cgdelete -r ' + self.cgroup )
677
- return exitcode != 0
+ return exitcode == 0 # success condition
678
679
def popen( self, *args, **kwargs ):
680
"""Return a Popen() object in node's namespace
0 commit comments