|
|
@ -297,10 +297,8 @@ class Action:
|
|
|
|
if not Action.executeCmd(checkCmd):
|
|
|
|
if not Action.executeCmd(checkCmd):
|
|
|
|
logSys.error("Invariant check failed. Trying to restore a sane" +
|
|
|
|
logSys.error("Invariant check failed. Trying to restore a sane" +
|
|
|
|
" environment")
|
|
|
|
" environment")
|
|
|
|
stopCmd = Action.replaceTag(self.__actionStop, self.__cInfo)
|
|
|
|
self.execActionStop()
|
|
|
|
Action.executeCmd(stopCmd)
|
|
|
|
self.execActionStart()
|
|
|
|
startCmd = Action.replaceTag(self.__actionStart, self.__cInfo)
|
|
|
|
|
|
|
|
Action.executeCmd(startCmd)
|
|
|
|
|
|
|
|
if not Action.executeCmd(checkCmd):
|
|
|
|
if not Action.executeCmd(checkCmd):
|
|
|
|
logSys.fatal("Unable to restore environment")
|
|
|
|
logSys.fatal("Unable to restore environment")
|
|
|
|
return False
|
|
|
|
return False
|
|
|
|