diff options
author | Rory Byrne <[email protected]> | 2015-05-28 15:48:42 +0100 |
---|---|---|
committer | Rory Byrne <[email protected]> | 2015-06-09 18:57:40 +0100 |
commit | b74a978af2253773a2d74876d4f4abccde25a673 (patch) | |
tree | c190947394d4efe94586203b7642e9c5ff450342 /lib/ssh | |
parent | f1dede329de90e4805cd21a43bb5b19e288c81a3 (diff) | |
download | otp-b74a978af2253773a2d74876d4f4abccde25a673.tar.gz otp-b74a978af2253773a2d74876d4f4abccde25a673.tar.bz2 otp-b74a978af2253773a2d74876d4f4abccde25a673.zip |
Fix supervisor:get_childspec/2 for simple_one_for_one
A bug in supervisor:get_childspec/2 results in
{error, simple_one_for_one} being returned on every call when the
supervisor strategy is simple_one_for_one.
This commit includes a small refactoring which brings together the
two 'start_child' clauses to make the code easier to follow.
Diffstat (limited to 'lib/ssh')
0 files changed, 0 insertions, 0 deletions