Follow existing style a little better

This commit is contained in:
Doug Barton 2001-10-10 04:25:44 +00:00
parent 5f2fc29ab3
commit f8bb49cd4f

9
etc/rc
View File

@ -490,9 +490,12 @@ case ${dumpdev} in
[Nn][Oo] | '')
;;
*)
if [ -z "${dumpdir}" ]; then
dumpdir="/var/crash"
fi
case ${dumpdir} in
'')
dumpdir='/var/crash'
;;
esac
if [ -e "${dumpdev}" -a -d "${dumpdir}" ]; then
/sbin/dumpon -v ${dumpdev}
echo -n 'Checking for core dump: '