diff options
author | Frederic Crozat <fcrozat@suse.com> | 2011-08-22 14:58:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-08-24 02:19:30 +0200 |
commit | 65457142f12ecc4bb39fad51b73b9d3e6eac4af5 (patch) | |
tree | 295b56a9697bf28c50124702e66b4ea1a9cc4311 /src/util.h | |
parent | 240fc26e03e93641523315222fea4cfbf71c0ef9 (diff) |
initctl: check for kexec_loaded when reboot is requested through initctl
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index a6b700c82e..3e1f46d826 100644 --- a/src/util.h +++ b/src/util.h @@ -504,4 +504,6 @@ int signal_from_string_try_harder(const char *s); extern int saved_argc; extern char **saved_argv; +bool kexec_loaded(void); + #endif |