mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +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=''
|
WORDCHARS=''
|
||||||
|
|
||||||
# disable core dumps
|
# disable core dumps
|
||||||
if ( limit coredumpsize >/dev/null 2>&1) ; then
|
if ( ulimit -c >/dev/null 2>&1 ) ; then
|
||||||
limit coredumpsize 0
|
ulimit -c 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# clear on exit
|
# clear on exit
|
||||||
|
|
Loading…
Add table
Reference in a new issue