Skip to content

Commit

Permalink
- add warning when fixing time
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 2, 2013
1 parent cf108f1 commit a551b80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ detect_vm_2nd_stage()

# set date to build start on broken systems (now < build start)
if [ $(date '+%s') -lt $(date -r /.build/build '+%s') ]; then
echo "WARNING: system has a broken clock, setting it to a newer time"
date -s $(date -r /.build/build '+@%s')
fi

Expand Down

0 comments on commit a551b80

Please sign in to comment.