Ostomy or intestinal anastomosis in cases of peritonitis.