Commit d27202a9 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add user-friendly message for .ssh/connect.py interrupt

parent ae0b398b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -128,6 +128,10 @@ def main():
			.format(host, port, str(exc))
		)
		os.execvp(fallback_cmd[0], fallback_cmd)
	except KeyboardInterrupt:
		sys.stderr.write(
			"Connection closed after receiving interrupt.\n"
		)


if __name__ == '__main__':