summaryrefslogtreecommitdiff
path: root/src/shutdownd.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-16 17:12:35 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-16 17:12:40 +0200
commit6b5ad000aba61a5312b5c3fac7dd85a0d33816af (patch)
tree312d5d377c0968b8724b06bbb95a2a38f9173521 /src/shutdownd.c
parent5dc50792ac1bc627bf9b50d259b4e7546b3f8d86 (diff)
shutdown: if now time argument is passed, imply +1 not +0
That should friendlier for folks who just run "shutdown" to figure out the command line arguments... https://bugzilla.redhat.com/show_bug.cgi?id=624149
Diffstat (limited to 'src/shutdownd.c')
-rw-r--r--src/shutdownd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdownd.c b/src/shutdownd.c
index 241c4327a6..751a1a59b8 100644
--- a/src/shutdownd.c
+++ b/src/shutdownd.c
@@ -88,7 +88,7 @@ static int read_packet(int fd, struct shutdownd_command *_c) {
}
if (n != sizeof(c)) {
- log_warning("Message has invaliud size. Ignoring");
+ log_warning("Message has invalid size. Ignoring");
return 0;
}