summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-12 03:33:08 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-12 03:33:08 +0100
commit7af53310dd9154ba76be7808292d9a046b849e43 (patch)
tree75a49739917317234ac91edf0f7306326fadddf7 /src/systemctl.c
parent9d3e691e709eb12ce48a3dec6e50537406d12ad2 (diff)
ask-password: don't show wall message on ttys we are already running a tty agent on
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 4f4b6dd6d2..372b3d0ca6 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -258,7 +258,7 @@ static void warn_wall(enum action action) {
}
if (*p) {
- utmp_wall(p);
+ utmp_wall(p, NULL);
free(p);
return;
}
@@ -269,7 +269,7 @@ static void warn_wall(enum action action) {
if (!table[action])
return;
- utmp_wall(table[action]);
+ utmp_wall(table[action], NULL);
}
struct unit_info {