Commit 5b6d0f09 authored by Niels Möller's avatar Niels Möller
Browse files

(main): When we're starting a gateway, enable channel

open handler for x11 channels.

Rev: src/lsh.c:1.217
parent 8aa8a39d
......@@ -1256,7 +1256,10 @@ main(int argc, char **argv)
struct resource *port = make_gateway_port(options->gateway, connection);
if (port)
remember_resource(connection->super.resources, port);
remember_resource(connection->super.resources, port);
options->x11_forward = 1;
werror("Failed to setup gateway.\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment