Browse Source

Manager: Add fixme to user getlogin()

master
Riyyi 3 years ago
parent
commit
d9f95f5332
  1. 1
      src/dotfile.cpp

1
src/dotfile.cpp

@ -181,6 +181,7 @@ void Dotfile::sync(const std::vector<std::string>& paths, const std::vector<size
// Get the password database record (/etc/passwd) of the user logged in on
// the controlling terminal of the process
// FIXME: Do error handling on these calls
passwd* user = getpwnam(getlogin());
auto printError = [](const std::filesystem::path& path, const std::error_code& error) -> void {

Loading…
Cancel
Save