summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-02-12 10:43:44 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-02-12 10:43:44 +0000
commit47e76de56a372796260b06a55f0be7765ee2f54f (patch)
treeda49dbb5b08eccf32e78840a3756e5614b79e4f2 /svr-main.c
parent433d5511e1b7c853ff68c65e7d515bc36a16991a (diff)
Disable core dumps
--HG-- extra : convert_revision : ba8ebf724630561c6b9285247be7574a33853a17
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/svr-main.c b/svr-main.c
index e228acf..ddf5445 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -52,6 +52,8 @@ int main(int argc, char ** argv)
_dropbear_exit = svr_dropbear_exit;
_dropbear_log = svr_dropbear_log;
+ disallow_core();
+
/* get commandline options */
svr_getopts(argc, argv);