Prevent sudo before timestamp check