summaryrefslogtreecommitdiffstats
path: root/lib/network/drakconnect/global.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-14 12:40:56 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-14 12:40:56 +0000
commit90a1ea8f11a3e6273a44be471752143944fe1e76 (patch)
treee1d10c0291d6958f19aeaab8bce39a2a25bbe8b1 /lib/network/drakconnect/global.pm
parentd0493e671689854dfdc016356f09d81962bd5044 (diff)
downloaddrakx-net-90a1ea8f11a3e6273a44be471752143944fe1e76.tar
drakx-net-90a1ea8f11a3e6273a44be471752143944fe1e76.tar.gz
drakx-net-90a1ea8f11a3e6273a44be471752143944fe1e76.tar.bz2
drakx-net-90a1ea8f11a3e6273a44be471752143944fe1e76.tar.xz
drakx-net-90a1ea8f11a3e6273a44be471752143944fe1e76.zip
do not run exit in sub-modules directly
Diffstat (limited to 'lib/network/drakconnect/global.pm')
-rw-r--r--lib/network/drakconnect/global.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/network/drakconnect/global.pm b/lib/network/drakconnect/global.pm
index 84881b2..ad59c2a 100644
--- a/lib/network/drakconnect/global.pm
+++ b/lib/network/drakconnect/global.pm
@@ -34,7 +34,7 @@ sub configure_net {
N("Warning"),
N("You do not have any configured Internet connection.
Run the \"%s\" assistant from the Mandriva Linux Control Center", N("Set up a new network interface (LAN, ISDN, ADSL, ...)")));
- $in->exit;
+ return;
}
unless ($::isEmbedded) {
$dialog->{rwindow}->set_position('center');
@@ -102,7 +102,6 @@ Run the \"%s\" assistant from the Mandriva Linux Control Center", N("Set up a ne
$update->();
Glib::Timeout->add(2000, $update);
$dialog->main;
- ugtk2->exit(0);
}
1;