summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-03 07:37:21 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-03 07:37:21 +0000
commit5e608933d98c887fe57cb0e5839256859a7ec4de (patch)
tree190ea74e8d3362051cd867f4349508b210bec4fa
parentf552152e5ae7d373f767f88a38bce63b350cf0e1 (diff)
downloaddrakx-net-5e608933d98c887fe57cb0e5839256859a7ec4de.tar
drakx-net-5e608933d98c887fe57cb0e5839256859a7ec4de.tar.gz
drakx-net-5e608933d98c887fe57cb0e5839256859a7ec4de.tar.bz2
drakx-net-5e608933d98c887fe57cb0e5839256859a7ec4de.tar.xz
drakx-net-5e608933d98c887fe57cb0e5839256859a7ec4de.zip
do not import everything from POSIX
-rwxr-xr-xbin/draknetprofile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/draknetprofile b/bin/draknetprofile
index faeac12..45438a0 100755
--- a/bin/draknetprofile
+++ b/bin/draknetprofile
@@ -31,7 +31,7 @@ use network::network;
use mygtk2;
use Gtk2::SimpleList;
use ugtk2 qw(:create :helpers :wrappers :dialogs);
-use POSIX;
+use POSIX ();
$ugtk2::wm_icon = 'draknetprofile-16';
my $title = N("Network profiles");
@@ -110,7 +110,7 @@ sub set_profile {
gtkflush();
unless (fork()) {
network::network::netprofile_set($net, $profile);
- _exit(0);
+ POSIX::_exit(0);
}
$SIG{CHLD} = sub {
$SIG{CHLD} = 'IGNORE';