3 ms·
I ran into a similar one a few times from the same team that kept doing things in their scripts like rm -rf ${basedir}/* without setting set -u to exit
by Bender 5y ago
I ran into a similar one a few times from the same team that kept doing things in their scripts like
rm -rf ${basedir}/*
without setting
set -u
to exit if there are undefined variables. I suggested a few other sanity checks but was told I was adding friction.