We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 339fde5 commit 39d8533Copy full SHA for 39d8533
keychain_lib/include/keychain_lib/keychain_commands.hpp
@@ -345,12 +345,13 @@ struct keychain_command<CMD_LIST>: keychain_command_base {
345
auto first = bfs::directory_iterator(bfs::path("./"));
346
std::for_each(first, bfs::directory_iterator(), [&keyname_list](bfs::directory_entry &unit){
347
if (!bfs::is_regular_file(unit.status()))
348
- return false;
+ return;
349
const auto &file_path = unit.path().filename();
350
351
auto j_keyfile = open_keyfile(file_path.c_str());
352
auto keyfile = j_keyfile.as<keyfile_format::keyfile_t>();
353
keyname_list.push_back(fc::variant(std::move(keyfile.keyname)));
354
355
});
356
send_response(keyname_list, id);
357
}
0 commit comments