mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
timedatectl: trim non-local RTC warning to 80 chars wide
This commit is contained in:
parent
02e9cc6207
commit
ab59f4123a
@ -154,11 +154,12 @@ static void print_status_info(const StatusInfo *i) {
|
|||||||
|
|
||||||
if (i->rtc_local)
|
if (i->rtc_local)
|
||||||
fputs("\n" ANSI_HIGHLIGHT_ON
|
fputs("\n" ANSI_HIGHLIGHT_ON
|
||||||
"Warning: The system is configured to read the RTC time in the local time zone. This\n"
|
"Warning: The system is configured to read the RTC time in the local time zone.\n"
|
||||||
" mode can not be fully supported. It will create various problems with time\n"
|
" This mode can not be fully supported. It will create various problems\n"
|
||||||
" zone changes and daylight saving time adjustments. The RTC time is never updated,\n"
|
" with time zone changes and daylight saving time adjustments. The RTC\n"
|
||||||
" it relies on external facilities to maintain it. If at all possible, use\n"
|
" time is never updated, it relies on external facilities to maintain it.\n"
|
||||||
" RTC in UTC by calling 'timedatectl set-local-rtc 0'" ANSI_HIGHLIGHT_OFF ".\n", stdout);
|
" If at all possible, use RTC in UTC by calling\n"
|
||||||
|
" 'timedatectl set-local-rtc 0'" ANSI_HIGHLIGHT_OFF ".\n", stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int show_status(sd_bus *bus, char **args, unsigned n) {
|
static int show_status(sd_bus *bus, char **args, unsigned n) {
|
||||||
|
Loading…
Reference in New Issue
Block a user