fix Ctrl-c catch on SSH BBS
This commit is contained in:
parent
e606b9ab3f
commit
39c47073a3
@ -123,7 +123,7 @@ defmodule Pleroma.BBS.Handler do
|
||||
|
||||
loop(%{state | counter: state.counter + 1})
|
||||
|
||||
{:error, :interrupted} ->
|
||||
{:input, ^input, {:error, :interrupted}} ->
|
||||
IO.puts("Caught Ctrl+C...")
|
||||
loop(%{state | counter: state.counter + 1})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user