Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0141-Fix-typo-in-noproc-catch-in-ssh.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0141-Fix-typo-in-noproc-catch-in-ssh.patch of Package erlang
From 2fc0316d4812dd029e772ee5e9771af6829f358a Mon Sep 17 00:00:00 2001 From: Maria Scott <maria-12648430@hnc-agency.org> Date: Thu, 18 Apr 2024 14:02:28 +0200 Subject: [PATCH] Fix typo in noproc catch in ssh --- lib/ssh/src/ssh_subsystem_sup.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ssh/src/ssh_subsystem_sup.erl b/lib/ssh/src/ssh_subsystem_sup.erl index 2a24cb667b..5b23a79c90 100644 --- a/lib/ssh/src/ssh_subsystem_sup.erl +++ b/lib/ssh/src/ssh_subsystem_sup.erl @@ -104,8 +104,8 @@ find_child(Id, Sup) when is_pid(Sup) -> {Id, Pid, _, _} = lists:keyfind(Id, 1, supervisor:which_children(Sup)), Pid catch - exit:{no_proc,_} -> - {error, no_proc}; + exit:{noproc,_} -> + {error, noproc}; _:_ -> {error, {id_not_found,?MODULE,Id}} end. -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor