2 ms·
I did something like that in some code in a from-scratch embedded Linux distro, maybe nine years ago: rm -rf $MISPELED_ROOT_DIR/lib/ Oops, the script didn't
by kazinator 9y ago
I did something like that in some code in a from-scratch embedded Linux distro, maybe nine years ago:
rm -rf $MISPELED_ROOT_DIR/lib/
Oops, the script didn't have "set -u", and I happened to run that as root. So, /lib directory gone.
I managed to recover that machine by copying libs from another one running the same distro.