Truck overtaking leads to near miss