Skip to content

Commit b26a4cd

Browse files
committed
ssh: fix ssh_basic_SUITE:shell_exit_status
1 parent 076d14c commit b26a4cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ssh/test/ssh_basic_SUITE.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
]).
4444

4545
-export([
46-
always_ok/1,
46+
always_ok/0,
4747
app_test/1,
4848
appup_test/1,
4949
basic_test/1,
@@ -1465,7 +1465,7 @@ shell_exit_status(Config) when is_list(Config) ->
14651465
ssh_test_lib:receive_exec_end(ConnectionRef, ChannelId),
14661466
ssh:stop_daemon(Pid).
14671467

1468-
always_ok(_) -> ok.
1468+
always_ok() -> spawn(fun() -> exit(ok) end).
14691469

14701470
%%----------------------------------------------------------------------------
14711471
setopts_getopts(Config) ->

0 commit comments

Comments
 (0)