this post was submitted on 06 Sep 2023
345 points (98.1% liked)

Programmer Humor

32361 readers
425 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

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!