From 90a1ea8f11a3e6273a44be471752143944fe1e76 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 14 Mar 2008 12:40:56 +0000 Subject: do not run exit in sub-modules directly --- bin/drakconnect | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/drakconnect') diff --git a/bin/drakconnect b/bin/drakconnect index bace3a5..a1fe8f7 100755 --- a/bin/drakconnect +++ b/bin/drakconnect @@ -60,8 +60,9 @@ if (/--skip-wizard/) { add_intf(); } +$in->exit(0); + sub add_intf() { network::netconnect::safe_main($net, $in, $modules_conf); $modules_conf->write; - $in->exit(0); } -- cgit v1.2.1