Remain silent on exit without error.
This commit is contained in:
parent
26e1caef7b
commit
0a21426d58
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user