projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc7d5d7
)
Always use hwclock flags
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 5 Sep 2007 04:09:35 +0000
(
04:09
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 5 Sep 2007 04:09:35 +0000
(
04:09
+0000)
time/time-lib.pl
patch
|
blob
|
history
diff --git
a/time/time-lib.pl
b/time/time-lib.pl
index
e238fd0
..
8d95205
100755
(executable)
--- a/
time/time-lib.pl
+++ b/
time/time-lib.pl
@@
-118,7
+118,8
@@
else {
if ($_[1]) {
# Set hardware clock time to match system time (which is now correct)
- local $out = &backquote_logged("hwclock --systohc");
+ local $flags = &get_hwclock_flags();
+ local $out = &backquote_logged("hwclock $flags --systohc");
return $? ? $out : undef;
}