diff cli-main.c @ 425:1afa503e33f5

Disable core dumps
author Matt Johnston <matt@ucc.asn.au>
date Mon, 12 Feb 2007 10:43:44 +0000
parents 0cfba3034be5
children e3db1f7a2e43
line wrap: on
line diff
--- a/cli-main.c	Sun Feb 11 10:46:44 2007 +0000
+++ b/cli-main.c	Mon Feb 12 10:43:44 2007 +0000
@@ -47,6 +47,8 @@
 	_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,