diff --git a/src/ShellService.cpp b/src/ShellService.cpp index d9a9608..5c25413 100644 --- a/src/ShellService.cpp +++ b/src/ShellService.cpp @@ -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