summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-28 12:31:11 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-28 12:31:11 +0100
commit090771492f155cebe7075171530e96c1cd515d71 (patch)
tree8e24d6c7bc6b982d1a9af42c7de5eddcd8e0f389 /src
parentebc5788e88eb9e1ebd032bd61507c196142acbab (diff)
sd-login: let's not needlessly yell at users
While GNOME/KDE are generally capitalized, systemd tools generally are not, hence let's not start doing so in the XDG_CURRENT_SESSION environment variable.
Diffstat (limited to 'src')
-rw-r--r--src/console/consoled-manager.c2
-rw-r--r--src/systemd/sd-login.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/console/consoled-manager.c b/src/console/consoled-manager.c
index 8f3823fe46..1b856f2228 100644
--- a/src/console/consoled-manager.c
+++ b/src/console/consoled-manager.c
@@ -132,7 +132,7 @@ static int manager_sysview_session_filter(Manager *m, sysview_event *event) {
if (r < 0)
return 0;
- return streq(desktop, "SYSTEMD-CONSOLE");
+ return streq(desktop, "systemd-console");
}
static int manager_sysview_session_add(Manager *m, sysview_event *event) {
diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h
index 93af19709b..64b882724c 100644
--- a/src/systemd/sd-login.h
+++ b/src/systemd/sd-login.h
@@ -147,7 +147,7 @@ int sd_session_get_type(const char *session, char **type);
/* Determine the class of this session, i.e. one of "user", "greeter" or "lock-screen". */
int sd_session_get_class(const char *session, char **clazz);
-/* Determine the desktop brand of this session, i.e. something like "GNOME", "KDE" or "SYSTEMD-CONSOLE". */
+/* Determine the desktop brand of this session, i.e. something like "GNOME", "KDE" or "systemd-console". */
int sd_session_get_desktop(const char *session, char **desktop);
/* Determine the X11 display of this session. */