lib/foreman/engine.rb in foreman-0.19.0 vs lib/foreman/engine.rb in foreman-0.20.0

- old
+ new

@@ -23,11 +23,11 @@ def processes @processes ||= begin @order = [] procfile.split("\n").inject({}) do |hash, line| - next if line.strip == "" + next hash if line.strip == "" name, command = line.split(/ *: +/, 2) unless command warn_deprecated_procfile! name, command = line.split(/ +/, 2) end @@ -117,10 +117,10 @@ until stdin.eof? info stdin.gets, process end end end - rescue PTY::ChildExited, Interrupt + rescue PTY::ChildExited, Interrupt, Errno::EIO begin info "process exiting", process rescue Interrupt end end