Don't be so sure. If the earthquake is big enough and moving in the right direction (say, parallel to the doorway), that door can swing closed with a really high velocity. (Earthquakes can have enough force to pick up large buses and toss them a large distance.)

Hollow doors, like the ones in question, are less dangerous than solid ones, but I'd rather not have to deal with them.