The original meaning behind this quote was directed as a sailing metaphor.
This comic panel, however, is about bad gas and sharing it with others, which would also be construed as an “ill wind” and “not good.”
In this case, relieving oneself of bad gas ( an ill wind ) leaves the room in a stink ( not good ).
Cheers ~