Remove guessing of XDG_RUNTIME_DIR

It's already set properly at that point.
This commit is contained in:
Fabian Vogt 2023-02-03 16:12:52 +01:00
parent 58d5c25691
commit c42bb38036

View File

@ -236,7 +236,6 @@ namespace SDDM {
qCritical() << "setgid(" << pw.pw_gid << ") failed for user: " << username;
exit(Auth::HELPER_OTHER_ERROR);
}
qputenv("XDG_RUNTIME_DIR", QByteArrayLiteral("/run/user/") + QByteArray::number(pw.pw_uid));
#ifdef USE_PAM