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

Return correct success condition in cgroupDel

Without this, we end up retrying until we fail, instead
of returning immediately on success!
parent 9db6cdc2
No related branches found
No related tags found
No related merge requests found
......@@ -674,7 +674,7 @@ def cgroupDel( self ):
"Clean up our cgroup"
# info( '*** deleting cgroup', self.cgroup, '\n' )
_out, _err, exitcode = errRun( 'cgdelete -r ' + self.cgroup )
return exitcode != 0
return exitcode == 0 # success condition
def popen( self, *args, **kwargs ):
"""Return a Popen() object in node's namespace
......
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