Reply to post: Crap fix

Scary code of the week: Valve Steam CLEANS Linux PCs (if you're not careful)

e^iπ+1=0

Crap fix

addition of an if $STEAMROOT != "" encapsulating the rm -rf comand.

Hmm, I wonder how well this would cope with something like

STEAMROOT=/

or

STEAMROOT=/.///./

or such like.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon