chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udev: path_id - set supported_parent for well-known SCSI setups
[elogind.git]
/
src
/
journal
/
journald.c
diff --git
a/src/journal/journald.c
b/src/journal/journald.c
index d6b235c12b895ccc7cf4fc9a7a5de43280e2b907..de40827d6aac109f524576e6cc42e1ba7b28193f 100644
(file)
--- a/
src/journal/journald.c
+++ b/
src/journal/journald.c
@@
-24,9
+24,9
@@
#include <errno.h>
#include <unistd.h>
#include <errno.h>
#include <unistd.h>
-#include
<systemd/sd-journal.h>
-#include
<systemd/sd-messages.h>
-#include
<systemd/sd-daemon.h>
+#include
"systemd/sd-journal.h"
+#include
"systemd/sd-messages.h"
+#include
"systemd/sd-daemon.h"
#include "journal-authenticate.h"
#include "journald-server.h"
#include "journal-authenticate.h"
#include "journald-server.h"
@@
-116,7
+116,9
@@
int main(int argc, char *argv[]) {
server_driver_message(&server, SD_MESSAGE_JOURNAL_STOP, "Journal stopped");
finish:
server_driver_message(&server, SD_MESSAGE_JOURNAL_STOP, "Journal stopped");
finish:
- sd_notify(false, "STATUS=Shutting down...");
+ sd_notify(false,
+ "STOPPING=1\n"
+ "STATUS=Shutting down...");
server_done(&server);
server_done(&server);