Actually, it occurs to me that the scenario could have been worse. If the working directory was /bin when the rm command failed, you just lost /bin, and the tools for restoration are generally in /sbin. If the script was running as root on a non-Linux system, however, and had simply been running in the default directory for a cron job, i.e. the owner's home directory, i.e. /...
no subject
no subject