Commit 041a852e authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Catch OSError not Exception in .ssh/forward.py

parent bc351f90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,6 +119,6 @@ def main():
if __name__ == '__main__':
	try:
		main()
	except Exception as exc:
	except OSError as exc:
		sys.stderr.write("Connection failed: %s\n" % str(exc))
		sys.exit(1)