diff options
Diffstat (limited to 'src/libutil/users.cc')
-rw-r--r-- | src/libutil/users.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/users.cc b/src/libutil/users.cc index a9a8a7353..ce36bad9b 100644 --- a/src/libutil/users.cc +++ b/src/libutil/users.cc @@ -36,7 +36,7 @@ Path getHome() std::optional<std::string> unownedUserHomeDir = {}; auto homeDir = getEnv("HOME"); if (homeDir) { - // Only use $HOME if doesn't exist or is owned by the current user. + // Only use `$HOME` if it exists and is owned by the current user. struct stat st; int result = stat(homeDir->c_str(), &st); if (result != 0) { |