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.