Merge branch 'master' of git://github.com/akkartik/kakoune

This commit is contained in:
Maxime Coste 2016-12-20 20:15:54 +00:00
commit 3a6167ae62

View File

@ -466,6 +466,7 @@ int run_client(StringView session, StringView init_cmds, UIType ui_type)
} }
catch (disconnected& e) catch (disconnected& e)
{ {
if (!e.m_graceful)
write_stderr(format("{}\ndisconnecting\n", e.what())); write_stderr(format("{}\ndisconnecting\n", e.what()));
return e.m_graceful ? 0 : -1; return e.m_graceful ? 0 : -1;
} }