diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2018-01-19 10:55:39 +0900 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2018-03-06 04:25:47 +0000 |
commit | 44f8232468a58bec9cb5127821e88d5eb7e5a875 (patch) | |
tree | df5898fd5603974b9dbd8e29e16a2b00c7dbc330 | |
parent | 8a69f1a69307796316ce28327e359d8f4d8c225c (diff) | |
download | systemd-44f8232468a58bec9cb5127821e88d5eb7e5a875.tar.gz systemd-44f8232468a58bec9cb5127821e88d5eb7e5a875.tar.bz2 systemd-44f8232468a58bec9cb5127821e88d5eb7e5a875.zip |
reboot: change log level of reboot command from warning to debugsubmit/tizen_4.0/20180306.042710accepted/tizen/4.0/unified/20180306.173616
To prevent the annoying warning messages below :
"Failed to read reboot parameter file: No such file or directory"
"SYSTEMD_LOG_LEVEL=debug reboot" command can see the original log.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I7bb619998bb2cce8959956f73f3dd62d48525c33
(cherry picked from commit 365181e121729bbea2711d1676ceecca869edf6f)
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a979c50bc0..fd91e798fe 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -7842,7 +7842,7 @@ static int halt_now(enum action a) { r = read_one_line_file("/run/systemd/reboot-param", ¶m); if (r < 0) - log_warning_errno(r, "Failed to read reboot parameter file: %m"); + log_debug_errno(r, "Failed to read reboot parameter file: %m"); if (!isempty(param)) { log_info("Rebooting with argument '%s'.", param); |