safey net for $MAILDIR1999-09-09 23:30:14everyone knows that a non-existent $MAILDIR is not a good thing. is this an adequate method of protection? :0w * ! ? test -d "${MAILDIR}" { LOG=" WARNING: no ${MAILDIR} found, will attempt to create " :0chi |mkdir "${MAILDIR}" :0ecw { LOG=" *** CREATION OF $MAILDIR FAILED *** *** USING $HOME for $MAILDIR *** " MAILDIR="${HOME}" } }
|
|