From 6edfb9a6c554c16c27195e366623e7558a50d335 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Tue, 15 Jun 2021 14:48:09 +0200 Subject: [PATCH] fix(nodetool): add_pathz -> add_patha --- bin/nodetool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nodetool b/bin/nodetool index 704a0a63b..8a1ca9d05 100755 --- a/bin/nodetool +++ b/bin/nodetool @@ -317,7 +317,7 @@ add_libs_dir() -> add_lib_dir(RootDir, Name, Vsn) -> LibDir = filename:join([RootDir, lib, atom_to_list(Name) ++ "-" ++ Vsn, ebin]), - case code:add_pathz(LibDir) of + case code:add_patha(LibDir) of true -> ok; {error, _} -> error(LibDir) end.