chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shutdown: respect the dry run option '-k'
[elogind.git]
/
src
/
shutdownd.h
diff --git
a/src/shutdownd.h
b/src/shutdownd.h
index
ed8a704
..
4581649
100644
(file)
--- a/
src/shutdownd.h
+++ b/
src/shutdownd.h
@@
-33,6
+33,7
@@
_packed_ struct shutdownd_command {
char mode; /* H, P, r, i.e. the switches usually passed to
* shutdown to select whether to halt, power-off or
* reboot the machine */
+ bool dry_run;
bool warn_wall;
/* Yepp, sometimes we are lazy and use fixed-size strings like