chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
execute: load environment files at time of execution, not when we load the service...
[elogind.git]
/
src
/
shutdown.c
diff --git
a/src/shutdown.c
b/src/shutdown.c
index 94deb8544106638af98a182788baffb1cce72c2e..5c082cf4a5c27da59e014d9c72c9ac63f518c9a5 100644
(file)
--- a/
src/shutdown.c
+++ b/
src/shutdown.c
@@
-334,7
+334,9
@@
int main(int argc, char *argv[]) {
}
if (retries >= FINALIZE_ATTEMPTS)
- log_error("Too many interations, giving up.");
+ log_error("Too many iterations, giving up.");
+
+ execute_directory(SYSTEM_SHUTDOWN_PATH, NULL, NULL);
sync();