Переглянути джерело

Removed the EOFError thrown by fg

Siddhant Goel 17 роки тому
батько
коміт
5f106967f3
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/supervisor/supervisorctl.py

+ 1 - 1
src/supervisor/supervisorctl.py

@@ -947,7 +947,7 @@ class DefaultControllerPlugin(ControllerPluginBase):
                     a.kill()
                     return
                 continue
-        except KeyboardInterrupt:
+        except (KeyboardInterrupt, EOFError):
             a.kill()
             self.ctl.output('Exiting foreground')
         return