summaryrefslogtreecommitdiff
path: root/usr.sbin/tzsetup
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-01-10 15:55:11 +0000
committerSteve Price <steve@FreeBSD.org>1998-01-10 15:55:11 +0000
commitf8ddb109a47a38ee9b42731967bdcb8647258380 (patch)
tree2c7067aa3dd0422866c2dbdd48a8a637fd5c98c7 /usr.sbin/tzsetup
parent20f16cfce3f92fed15cc2497dde49eb35dfa4e46 (diff)
downloadsrc-test2-f8ddb109a47a38ee9b42731967bdcb8647258380.tar.gz
src-test2-f8ddb109a47a38ee9b42731967bdcb8647258380.zip
Notes
Diffstat (limited to 'usr.sbin/tzsetup')
-rw-r--r--usr.sbin/tzsetup/tzsetup.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c
index d3bd4490df84..8f3f34c2cd08 100644
--- a/usr.sbin/tzsetup/tzsetup.c
+++ b/usr.sbin/tzsetup/tzsetup.c
@@ -34,7 +34,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: tzsetup.c,v 1.8 1997/10/27 07:49:47 charnier Exp $";
+ "$Id: tzsetup.c,v 1.9 1997/11/07 00:07:27 joerg Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -655,12 +655,13 @@ main(int argc, char **argv)
init_dialog();
if (!dialog_yesno("Select local or UTC (Greenwich Mean Time) clock",
"Is this machine's CMOS clock set to UTC? If it is set to local time,\n"
- "please choose NO here!", 7, 72))
+ "please choose NO here!", 7, 72)) {
if (reallydoit)
system("rm -f /etc/wall_cmos_clock");
- else
+ } else {
if (reallydoit)
system("touch /etc/wall_cmos_clock");
+ }
dialog_clear_norefresh();
dialog_menu("Time Zone Selector", "Select a region", -1, -1,
NCONTINENTS, -NCONTINENTS, continents, 0, NULL, NULL);