Fixed infinite loop bug when the debug log directory is deleted. Thanks to Emils Klotins <emils@dot.lv>. Rev: server/start:1.114