From b1e90ec515408aec2702522f6f68c4920b56375b Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 15 Feb 2014 18:13:46 -0500 Subject: Pass log config from systemd to systemd-shutdown If PID 1 debug logging is enabled, it is nice to keep those settings when switching to systemd-shutdown binary, independently of whether this was done through /proc/cmdline options, or through runtime manipulations. --- src/shared/log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/log.h') diff --git a/src/shared/log.h b/src/shared/log.h index 6a0f6735c5..794af7be6a 100644 --- a/src/shared/log.h +++ b/src/shared/log.h @@ -52,7 +52,9 @@ int log_set_target_from_string(const char *e); int log_set_max_level_from_string(const char *e); void log_show_color(bool b); +bool log_get_show_color(void) _pure_; void log_show_location(bool b); +bool log_get_show_location(void) _pure_; int log_show_color_from_string(const char *e); int log_show_location_from_string(const char *e); -- cgit v1.2.3-54-g00ecf