diff options
author | Niclas Eklund <[email protected]> | 2010-10-25 12:16:36 +0200 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2010-10-25 12:16:36 +0200 |
commit | 00d27caa001444e65e9dd3a7d3bc65cfde4b5866 (patch) | |
tree | e26c670b0c288961e5164df80415f11b7c4ca39f /lib/ssh/src/ssh_system_sup.erl | |
parent | 644d0c54643eda5216a1fa0ff012d1ebcae5ce8e (diff) | |
download | otp-00d27caa001444e65e9dd3a7d3bc65cfde4b5866.tar.gz otp-00d27caa001444e65e9dd3a7d3bc65cfde4b5866.tar.bz2 otp-00d27caa001444e65e9dd3a7d3bc65cfde4b5866.zip |
The fix regarding OTP-8863 was not included in the previous version as stated
Diffstat (limited to 'lib/ssh/src/ssh_system_sup.erl')
-rw-r--r-- | lib/ssh/src/ssh_system_sup.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_system_sup.erl b/lib/ssh/src/ssh_system_sup.erl index 0ff73f1648..d1003e12f2 100644 --- a/lib/ssh/src/ssh_system_sup.erl +++ b/lib/ssh/src/ssh_system_sup.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2009. All Rights Reserved. +%% Copyright Ericsson AB 2008-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -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, _, _, _} -> |