fix Ctrl-c catch on SSH BBS

This commit is contained in:
duponin 2022-05-18 20:06:16 +02:00
parent e606b9ab3f
commit 39c47073a3

View File

@ -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})