this post was submitted on 08 Jul 2023
338 points (98.6% liked)

linuxmemes

20950 readers
518 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
338
submitted 1 year ago* (last edited 1 year ago) by rtxn to c/linuxmemes
 
you are viewing a single comment's thread
view the rest of the comments
[–] average650 17 points 1 year ago

It explains in the GitHub link.

There was a line of code:rm -rf "$STEAMROOT/"*

If you remove the definition of $STEAMROOT, then it appears to be interpreted as rm -rf /