修正重启逻辑
Merge pull request #3 from m13253/master

再次修正重启逻辑