aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_system_sup.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2010-10-28 14:31:01 +0200
committerNiclas Eklund <[email protected]>2010-10-28 14:31:01 +0200
commitde0ce3407717573e9591b086a1829f16ed88d289 (patch)
treef30862fefada34f103c1d5bf3944e701f0448c0c /lib/ssh/src/ssh_system_sup.erl
parent0de086094e295119dafa14eb3b02884a538fedcc (diff)
parent489be05ffa13d66726b3c5d61227294aa1dad992 (diff)
downloadotp-de0ce3407717573e9591b086a1829f16ed88d289.tar.gz
otp-de0ce3407717573e9591b086a1829f16ed88d289.tar.bz2
otp-de0ce3407717573e9591b086a1829f16ed88d289.zip
Merge branch 'maint-r13' into maint-r14
Conflicts: lib/ssh/doc/src/notes.xml lib/ssh/src/ssh.appup.src lib/ssh/src/ssh_system_sup.erl lib/ssh/vsn.mk
Diffstat (limited to 'lib/ssh/src/ssh_system_sup.erl')
-rw-r--r--lib/ssh/src/ssh_system_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_system_sup.erl b/lib/ssh/src/ssh_system_sup.erl
index f4570b8a48..920baaadef 100644
--- a/lib/ssh/src/ssh_system_sup.erl
+++ b/lib/ssh/src/ssh_system_sup.erl
@@ -85,7 +85,7 @@ start_subsystem(SystemSup, Options) ->
supervisor:start_child(SystemSup, Spec).
stop_subsystem(SystemSup, SubSys) ->
- case lists:keyfind(SubSys, 2, supervisor:which_children(SystemSup)) of
+ case catch lists:keyfind(SubSys, 2, supervisor:which_children(SystemSup)) of
false ->
{error, not_found};
{Id, _, _, _} ->