My boss was delighted to take credit for it while also ensuring I stayed on message that it wasn't actually a result of him screwing up and being generally incompetent. I eventually figured I had nothing to lose and talked to his boss (politely of course) just saying how successful that had been and that I had plenty of other ideas for improvement. It was not well received.
But I hear my old boss is doing quite well these days.