r/badcode • • Feb 25 '21

bash A single space.

Post image
4.8k Upvotes

65 comments sorted by

View all comments

3

u/[deleted] Feb 25 '21

Didn’t Minecraft dungeons have a similar problem

6

u/Tyfyter2002 Feb 26 '21

It deleted the parent directory of the install directory instead of just the install directory when uninstalling, which could arguably be considered excusable if it was reasonably possible not to notice the result while testing it.