[systemd-commits] 2 commits - src/systemctl.c units/systemd-shutdownd.socket
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Aug 16 12:05:29 PDT 2010
src/systemctl.c | 4 ++--
units/systemd-shutdownd.socket | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 7774cdc1d83bd28f271381b941142d0468d7d6e7
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Aug 16 21:05:22 2010 +0200
shutdown: fix socket type in .socket file
diff --git a/units/systemd-shutdownd.socket b/units/systemd-shutdownd.socket
index fdf2a06..7652308 100644
--- a/units/systemd-shutdownd.socket
+++ b/units/systemd-shutdownd.socket
@@ -13,4 +13,4 @@ DefaultDependencies=no
Before=sockets.target
[Socket]
-ListenStream=@/org/freedesktop/systemd1/shutdownd
+ListenDatagram=@/org/freedesktop/systemd1/shutdownd
commit a2a3a5b93cc4aabdbb1b89eed8899979bb6a2cca
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Aug 15 02:21:17 2010 +0200
systemctl: sort case-insensitively
diff --git a/src/systemctl.c b/src/systemctl.c
index ca676f9..a3186db 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -216,11 +216,11 @@ static int compare_unit_info(const void *a, const void *b) {
if (d1 && d2) {
int r;
- if ((r = strcmp(d1, d2)) != 0)
+ if ((r = strcasecmp(d1, d2)) != 0)
return r;
}
- return strcmp(u->id, v->id);
+ return strcasecmp(u->id, v->id);
}
static int list_units(DBusConnection *bus, char **args, unsigned n) {
More information about the systemd-commits
mailing list