From 5ac2389a3006bee6c88fcc0e3e0695b2b855cfbb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 6 Apr 2006 16:50:47 +0000 Subject: (fork_exec) the second argument is never used; let's drop it and thus simplify this function --- mdkapplet | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mdkapplet b/mdkapplet index 58b45d65..f0661dbd 100755 --- a/mdkapplet +++ b/mdkapplet @@ -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); -- cgit v1.2.1