diff options
author | dougb <dougb@FreeBSD.org> | 2001-10-10 04:25:44 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2001-10-10 04:25:44 +0000 |
commit | 84f950f9779920910dd92f9d0d2fed07abb54e35 (patch) | |
tree | 0c1e4a65618528f7df6245f40ca9ef4eb5155eca | |
parent | 34a23c20e2254e8c189ddd4f19c6ba8199f00e90 (diff) | |
download | FreeBSD-src-84f950f9779920910dd92f9d0d2fed07abb54e35.zip FreeBSD-src-84f950f9779920910dd92f9d0d2fed07abb54e35.tar.gz |
Follow existing style a little better
-rw-r--r-- | etc/rc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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: ' |