Bailing out the Greeks made some sense when it was seen to be cheaper than bailing out German banks. But as the situation stands it looks like bailing out Greece is throwing good money after bad, and the German banks will have to be bailed out anyway. So from the German perspective the right thing to do would be to let the Greeks go bankrupt.