fix: rm useless `catch`
This commit is contained in:
parent
427866f8ad
commit
0e319d5e4e
|
@ -169,5 +169,5 @@ some_function(Parent, _Arg2) ->
|
|||
|
||||
dead_port() ->
|
||||
Port = erlang:open_port({spawn, "ls"}, []),
|
||||
catch exit(Port, kill),
|
||||
exit(Port, kill),
|
||||
Port.
|
||||
|
|
Loading…
Reference in New Issue