fix: rm useless `catch`

This commit is contained in:
Thales Macedo Garitezi 2022-02-24 16:28:00 -03:00
parent 427866f8ad
commit 0e319d5e4e
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 1 additions and 1 deletions

View File

@ -169,5 +169,5 @@ some_function(Parent, _Arg2) ->
dead_port() -> dead_port() ->
Port = erlang:open_port({spawn, "ls"}, []), Port = erlang:open_port({spawn, "ls"}, []),
catch exit(Port, kill), exit(Port, kill),
Port. Port.