Follow existing style a little better
This commit is contained in:
parent
34a23c20e2
commit
84f950f977
9
etc/rc
9
etc/rc
@ -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: '
|
||||
|
Loading…
x
Reference in New Issue
Block a user