diff --git a/img_wget.pl b/img_wget.pl index 3dbafcb..21a73b0 100644 --- a/img_wget.pl +++ b/img_wget.pl @@ -68,6 +68,7 @@ sub hookfn { sleep 1 unless(defined($t)); } unless (defined($t)); + $t->detach(); undef $t; if ($active == 1) {