Post #4053373
2026-07-24 03:44 UTC
rm -rf “$STEAMROOT/”* could be evaluated as rm -rf “/”* if $STEAMROOT is empty
Ah, good times.
Replies (3)
-
@victorz@lemmy.world 2026-07-24 11:41
Probably a good idea to enable the nounset shell option when shipping commercial-grade install scripts. 😅
-
@sp3ctr4l@lemmy.dbzer0.com 2026-07-24 11:53
Wow. That’s a nuclear grade ‘oopsie’ right there hahaha!
-
@Fmstrat@lemmy.world 2026-07-24 19:46
I love how someone committed # scary! above it rather than fixing it.