A king saw in his dream that all his teeth were gone. So he called an astrologer for its explanation. The astrologer replied, "Your whole family will die in front of you." After hearing the sad explanation, the king killed the astrologer. (Though the explanation of the astrologer was true.) Then the king called for another astrologer. The explanation of the second explanation was also true. But the king didn't kill him after hearing that, rather gave him gifts.
My question is
Why didn't the king kill the second astrologer?