Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #871 from jdeathe/issue/837
Browse files Browse the repository at this point in the history
CLOSES #837: Updates system-timezone-wrapper to improve timer accuracy.
  • Loading branch information
jdeathe authored Sep 15, 2019
2 parents fdd57db + 526af00 commit 5f36fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Summary of release changes.
- Updates `test/health_status` helper script with for consistency.
- Updates Makefile target `logs` to accept `[OPTIONS]` (e.g `make -- logs -ft`).
- Updates `healthcheck` script; state file existence confirms bootstrap completion.
- Updates `system-timezone-wrapper` to improve timer accuracy.
- Adds improved test workflow; added `test-setup` target to Makefile.
- Adds Makefile target `logsdef` to handle deferred logs output within a target chain.
- Fixes validation failure of 0 second --timeout value in `test/health_status`.
Expand Down
10 changes: 5 additions & 5 deletions src/usr/sbin/system-timezone-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ function main ()
__get_options \
"${system_timezone}"
)"

timer_total="$(
__get_timer_total \
"${timer_start}"
)"
else
options="$(
__get_options
Expand All @@ -186,6 +181,11 @@ function main ()

if [[ ${verbose} == true ]]
then
timer_total="$(
__get_timer_total \
"${timer_start}"
)"

cat \
<<-EOT
Expand Down

0 comments on commit 5f36fed

Please sign in to comment.