diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-06 16:50:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2006-04-06 16:50:47 +0000 |
commit | 5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb (patch) | |
tree | 4e7403d2393bf4d61c385fcaa3df2c567f3dc419 | |
parent | 9e04e31703a95b2dd65b83b2a428fa53b20152de (diff) | |
download | mgaonline-5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb.tar mgaonline-5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb.tar.gz mgaonline-5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb.tar.bz2 mgaonline-5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb.tar.xz mgaonline-5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb.zip |
(fork_exec) the second argument is never used; let's drop it and thus
simplify this function
-rwxr-xr-x | mdkapplet | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -184,11 +184,10 @@ sub harvester { return if $clean; } sub fork_exec { - my ($prog, $o_pid_table) = @_; + my ($prog) = @_; my $pid = fork(); if (defined $pid) { !$pid and do { exec($prog) or POSIX::_exit() }; - push @$o_pid_table, $pid if $o_pid_table; return $pid; } else { refresh_gui(1); |