diff options
author | Hans Nilsson <[email protected]> | 2017-03-20 13:15:34 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-04-07 10:19:56 +0200 |
commit | f64dc7858c06d3096b47532270d9f6b732aa7ece (patch) | |
tree | 3013325840b090ba141ce9926648c1a1955b16e7 /lib/ssh/test/ssh_sftpd_SUITE.erl | |
parent | ee8a5fa4da90016d6f17db2aa9f43bd98ca04985 (diff) | |
download | otp-f64dc7858c06d3096b47532270d9f6b732aa7ece.tar.gz otp-f64dc7858c06d3096b47532270d9f6b732aa7ece.tar.bz2 otp-f64dc7858c06d3096b47532270d9f6b732aa7ece.zip |
ssh: remove deprecated ssh_sftpd:listen and ssh_sftpd:stop
Diffstat (limited to 'lib/ssh/test/ssh_sftpd_SUITE.erl')
-rw-r--r-- | lib/ssh/test/ssh_sftpd_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_sftpd_SUITE.erl b/lib/ssh/test/ssh_sftpd_SUITE.erl index 4dd510fc47..673fb54a4f 100644 --- a/lib/ssh/test/ssh_sftpd_SUITE.erl +++ b/lib/ssh/test/ssh_sftpd_SUITE.erl @@ -187,7 +187,7 @@ init_per_testcase(TestCase, Config) -> [{sftp, {Cm, Channel}}, {sftpd, Sftpd }| Config]. end_per_testcase(_TestCase, Config) -> - ssh_sftpd:stop(proplists:get_value(sftpd, Config)), + catch ssh:stop_daemon(proplists:get_value(sftpd, Config)), {Cm, Channel} = proplists:get_value(sftp, Config), ssh_connection:close(Cm, Channel), ssh:close(Cm), |