Print connection failed messages with a newline

Fixes #308
This commit is contained in:
Maxime Coste 2015-07-05 13:29:41 +01:00
parent 93b6534ef1
commit 72b7a8910b

View File

@ -323,7 +323,7 @@ int run_client(StringView session, StringView init_command)
}
catch (connection_failed& e)
{
write_stderr(e.what());
write_stderr(format("{}\n", e.what()));
return -1;
}
return 0;
@ -541,7 +541,7 @@ int run_pipe(StringView session)
}
catch (connection_failed& e)
{
write_stderr(e.what());
write_stderr(format("{}\n", e.what()));
return -1;
}
return 0;