diff options
author | Niclas Eklund <[email protected]> | 2010-10-28 14:31:01 +0200 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2010-10-28 14:31:01 +0200 |
commit | de0ce3407717573e9591b086a1829f16ed88d289 (patch) | |
tree | f30862fefada34f103c1d5bf3944e701f0448c0c /lib/ssh/src/ssh_system_sup.erl | |
parent | 0de086094e295119dafa14eb3b02884a538fedcc (diff) | |
parent | 489be05ffa13d66726b3c5d61227294aa1dad992 (diff) | |
download | otp-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.erl | 2 |
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, _, _, _} -> |