1
0
Fork 0
mirror of https://github.com/tuxedocomputers/tuxedo-touchpad-switch.git synced 2025-01-18 11:41:10 +01:00

Root does not help with XDG variables

This commit is contained in:
Werner Sembach 2022-01-25 17:34:00 +01:00
parent 5d2875e2b0
commit 152dffd4b3

View file

@ -97,7 +97,7 @@ int main() {
char *xdg_current_desktop = getenv("XDG_CURRENT_DESKTOP");
if (!xdg_current_desktop) {
cout << "Your desktop environment could not be determined. Maybe running as root?" << endl;
cout << "Your desktop environment could not be determined." << endl;
gracefull_exit(SIGTERM);
}
else if (strstr(xdg_current_desktop, "GNOME")) {