aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-06-10 23:02:52 +0000
committerBill Nottingham <notting@redhat.com>2000-06-10 23:02:52 +0000
commitbca48832cf3ab2eafcffd83478ed6ffd6d6e4a0c (patch)
treee99f9930c6c5796a06632c5b70837af8cf91d2e5
parentdc0429aa049ac36a6c24e6813a093d7ce429c101 (diff)
downloadinitscripts-bca48832cf3ab2eafcffd83478ed6ffd6d6e4a0c.tar
initscripts-bca48832cf3ab2eafcffd83478ed6ffd6d6e4a0c.tar.gz
initscripts-bca48832cf3ab2eafcffd83478ed6ffd6d6e4a0c.tar.bz2
initscripts-bca48832cf3ab2eafcffd83478ed6ffd6d6e4a0c.tar.xz
initscripts-bca48832cf3ab2eafcffd83478ed6ffd6d6e4a0c.zip
set core dump soft limit, not hard limit
-rwxr-xr-xrc.d/init.d/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index b493fa6c..1f338b42 100755
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -103,7 +103,7 @@ daemon() {
# make sure it doesn't core dump anywhere; while this could mask
# problems with the daemon, it also closes some security problems
- ulimit -c 0
+ ulimit -S -c 0
# Echo daemon
[ "$BOOTUP" = "verbose" ] && echo -n " $base"