Fixed ~/ expansion, turns out it was our shell carrying it all along

This commit is contained in:
2026-01-14 10:30:41 +01:00
parent 1f1b60c975
commit c2c695ff45

View File

@@ -27,7 +27,7 @@ std::string ShellService::getHomePath()
{
char* home = getenv("HOME");
if (home && *home) {
return std::string(home);
return std::string(home) + std::string("/");
}
// Fallback: try to get home directory from passwd if HOME is not set