A Google search reveals that it should say "lining up ". I suppose "lining up on the side of the undertaker" means giving in to death rather than fighting it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.