Hacker News new | ask | show | jobs
by SAI_Peregrinus 1686 days ago
It's -u.

You can also prevent this by never using $VAR, and instead always using ${VAR:?} to exit with error if VAR is unset (or use one of the other options to provide a default).