Remain silent on exit without error.
This commit is contained in:
parent
26e1caef7b
commit
0a21426d58
|
@ -466,7 +466,8 @@ int run_client(StringView session, StringView init_cmds, UIType ui_type)
|
|||
}
|
||||
catch (disconnected& e)
|
||||
{
|
||||
write_stderr(format("{}\ndisconnecting\n", e.what()));
|
||||
if (!e.m_graceful)
|
||||
write_stderr(format("{}\ndisconnecting\n", e.what()));
|
||||
return e.m_graceful ? 0 : -1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user