Hacker News new | ask | show | jobs
by teddyh 2069 days ago
And on the day that “mktemp” fails for some reason, that script will then delete your entire home directory.
1 comments

And on the day that “mktemp” fails for some reason, that script will then delete your entire home directory.

That's a good point but an incredibly lazy comment. I think the possible failure of 'mktemp' could be protected against by using 'set -e' at the start of the script.