diff --git a/CHANGELOG.md b/CHANGELOG.md index 6089358..4bc3058 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`. diff --git a/src/usr/sbin/system-timezone-wrapper b/src/usr/sbin/system-timezone-wrapper index 02bc694..aaa2421 100755 --- a/src/usr/sbin/system-timezone-wrapper +++ b/src/usr/sbin/system-timezone-wrapper @@ -163,11 +163,6 @@ function main () __get_options \ "${system_timezone}" )" - - timer_total="$( - __get_timer_total \ - "${timer_start}" - )" else options="$( __get_options @@ -186,6 +181,11 @@ function main () if [[ ${verbose} == true ]] then + timer_total="$( + __get_timer_total \ + "${timer_start}" + )" + cat \ <<-EOT