summaryrefslogtreecommitdiffhomepage
path: root/cli-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 /cli-main.c
parent433d5511e1b7c853ff68c65e7d515bc36a16991a (diff)
Disable core dumps
--HG-- extra : convert_revision : ba8ebf724630561c6b9285247be7574a33853a17
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli-main.c b/cli-main.c
index 3f767c9..68cf023 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -47,6 +47,8 @@ int main(int argc, char ** argv) {
_dropbear_exit = cli_dropbear_exit;
_dropbear_log = cli_dropbear_log;
+ disallow_core();
+
cli_getopts(argc, argv);
TRACE(("user='%s' host='%s' port='%s'", cli_opts.username,