mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
use a more standard way of changing core dump size
This commit is contained in:
parent
e0d3c99e0d
commit
3ffcfde4c4
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@
|
|||
WORDCHARS=''
|
||||
|
||||
# disable core dumps
|
||||
if ( limit coredumpsize >/dev/null 2>&1) ; then
|
||||
limit coredumpsize 0
|
||||
if ( ulimit -c >/dev/null 2>&1 ) ; then
|
||||
ulimit -c 0
|
||||
fi
|
||||
|
||||
# clear on exit
|
||||
|
|
Loading…
Add table
Reference in a new issue