aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_system_sup.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2010-11-01 10:54:41 +0100
committerNiclas Eklund <[email protected]>2010-11-01 10:54:41 +0100
commitff182ad7f0b4422f961b4b5336b747cc9f3b2cdf (patch)
tree77ec33f4e2b40d8050152ce555160efb06d8f1cf /lib/ssh/src/ssh_system_sup.erl
parent95188ca3a848a1bcb1412d922eb6b13deccf9267 (diff)
parent7fce62fb8dfcf964111ce8c3254a41ce450ad0b6 (diff)
downloadotp-ff182ad7f0b4422f961b4b5336b747cc9f3b2cdf.tar.gz
otp-ff182ad7f0b4422f961b4b5336b747cc9f3b2cdf.tar.bz2
otp-ff182ad7f0b4422f961b4b5336b747cc9f3b2cdf.zip
Merge branch 'maint-r14' into dev
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, _, _, _} ->