limit can sometimes not support coredumpsize

This commit is contained in:
U-DAVID-DFC4E3FE1\Administrator 2010-04-24 13:01:56 -05:00
parent d1690b37e8
commit 0a0cbe91e1

View file

@ -2,7 +2,9 @@
WORDCHARS=''
# disable core dumps
limit coredumpsize 0
if ( limit coredumpsize >/dev/null 2>&1) ; then
limit coredumpsize 0
fi
# clear on exit
trap clear 0