if (context.getVariables().get(LayoutManager.CURRENT_NODE) != null)
{
log.info("Exiting subshell");
Variables v = context.getVariables();
while (v != null && v.get(LayoutManager.CURRENT_NODE) != null) {
v.unset(LayoutManager.CURRENT_NODE);
v = v.parent();
}
return SUCCESS;
}
else