mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
tzsetup: Default to UTC
Restore old behavior.
Fixes: f872dde34c
("tzsetup: replace libdialog with libbsddialog")
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D33334
Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
8d0b41b058
commit
547fc67fec
|
@ -1028,10 +1028,9 @@ main(int argc, char **argv)
|
|||
"If it is set to local time,\n"
|
||||
"or you don't know, please choose NO here!");
|
||||
|
||||
conf.button.defaultno = true;
|
||||
conf.button.defaultno = false;
|
||||
conf.title = "Select local or UTC (Greenwich Mean Time) clock";
|
||||
yesno = bsddialog_yesno(&conf, prompt, 7, 73);
|
||||
conf.button.defaultno = false;
|
||||
if (!yesno) {
|
||||
if (reallydoit)
|
||||
unlink(path_wall_cmos_clock);
|
||||
|
|
Loading…
Reference in a new issue