this post was submitted on 06 Sep 2023
349 points (98.3% liked)

Programmer Humor

32692 readers
348 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

All the words in the picture are links!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 1 year ago

rm -rf $STEAM_ROOT/ takes me wayyy back. I remember hearing about that one. It was part of a script that shipped with a Stream installer?

Whatever it was, the bug was that if the env var in that line wasn't defined, it would just rm the actual root. Hilarious if doesn't happen to you!