mirror of
https://github.com/sddm/sddm.git
synced 2024-11-23 18:13:26 +08:00
Remove guessing of XDG_RUNTIME_DIR
It's already set properly at that point.
This commit is contained in:
parent
58d5c25691
commit
c42bb38036
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user