diff options
author | Daouda Lo <daouda@mandriva.com> | 2004-06-08 13:45:48 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2004-06-08 13:45:48 +0000 |
commit | f5907b0d41d91c518a53c529cd783453dcc90d83 (patch) | |
tree | 09be6426bc45f211e95c7978329445d2b2f659b5 /mdkapplet | |
parent | 6a729eb927c6eda7a92ff19c8f46619491388884 (diff) | |
download | mgaonline-f5907b0d41d91c518a53c529cd783453dcc90d83.tar mgaonline-f5907b0d41d91c518a53c529cd783453dcc90d83.tar.gz mgaonline-f5907b0d41d91c518a53c529cd783453dcc90d83.tar.bz2 mgaonline-f5907b0d41d91c518a53c529cd783453dcc90d83.tar.xz mgaonline-f5907b0d41d91c518a53c529cd783453dcc90d83.zip |
- remove unused func
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -424,21 +424,6 @@ sub setState { $menu->append(gtksignal_connect(gtkshow(Gtk2::MenuItem->new_with_label(N("Quit"))), activate => sub { mainQuit() })); $menu } -sub forkEm { - my ($command) = shift; - my $pid = fork(); - if (defined $pid) { - !$pid and do { exec($command) or POSIX::_exit(1) }; - push @proctable, $pid; - return $pid - } else { - print "Fork unsuccessful\n"; - } -} -sub killEm { - map { if__($_, kill 'TERM', $_) } @proctable; - @proctable = (); -} sub logIt { my $log = shift; $mLog .= $log; |