r/badcode • • Feb 25 '21

bash A single space.

Post image
4.8k Upvotes

64 comments sorted by

View all comments

Show parent comment

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.