From 2c525a02f087fff609cc6c7736c5c582f91e00dc Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 17 Jan 2018 12:22:02 +0100 Subject: ssh: Disable exec for non-default shell --- lib/ssh/src/ssh_options.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ssh/src/ssh_options.erl') diff --git a/lib/ssh/src/ssh_options.erl b/lib/ssh/src/ssh_options.erl index cf1534bd78..1e10f72956 100644 --- a/lib/ssh/src/ssh_options.erl +++ b/lib/ssh/src/ssh_options.erl @@ -268,7 +268,7 @@ default(server) -> }, {shell, def} => - #{default => {shell, start, []}, + #{default => ?DEFAULT_SHELL, chk => fun({M,F,A}) -> is_atom(M) andalso is_atom(F) andalso is_list(A); (V) -> check_function1(V) orelse check_function2(V) end, -- cgit v1.2.3