~sircmpwn/himitsu-ssh

9c283799b962d4f12f749e327e884bb2e527a310 — Armin Preiml 4 months ago 09b33fe
print socketpath on error
1 files changed, 2 insertions(+), 1 deletions(-)

M cmd/hissh-agent/main.ha
M cmd/hissh-agent/main.ha => cmd/hissh-agent/main.ha +2 -1
@@ 33,7 33,8 @@ export fn main() void = {
	case let sock: net::socket =>
		yield sock;
	case let err: net::error =>
		fmt::fatal("Error creating socket:", net::strerror(err));
		fmt::fatalf("Error creating socket at '{}': {}",
			sockpath, net::strerror(err));
	};
	defer {
		net::close(socket)!;