What does ‘Break a Leg’ mean?

While it may sound like the speaker is wishing someone ill, the exact opposite is true. Telling someone to “break a leg” before a performance is actually a term of good luck.