Take a look at all the photos of B-17s taking severe combat damage yet returning home. Jetliners are a lot more redundant today than the B-17s were.
However, if the hole took out the flight controls, or set a fire, then the airplane has a big problem.
These are all fake news. According to Hollywood, a single bullet from a gun will cause an airplane to break apart in mid-air. You can't honestly expect me to believe Hollywood movies get physics wrong.
Similarly, as soon as a car's wheels leave the ground, it bursts into a fireball according to many TV shows I've seen.
/s
The bigger risk to the plane (and passengers) would likely be if the person carrying the explosive was working in the airport and the explosion occurred during a critical moment, like when a pilot is taxiing.