From: Dan Boger Date: Thu, 8 Jan 2009 20:50:12 +0000 (-0800) Subject: 1.5.2 - r326 - Add pidwait for the fork, to help fight zombies. Not sure if it's... X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/76043c1e81058b21fb9d41c7fa612cc975339a9e?ds=sidebyside;hp=--cc 1.5.2 - r326 - Add pidwait for the fork, to help fight zombies. Not sure if it's needed --- 76043c1e81058b21fb9d41c7fa612cc975339a9e diff --git a/twirssi.pl b/twirssi.pl index 97a0918..e1c46ac 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -11,8 +11,8 @@ $Data::Dumper::Indent = 1; use vars qw($VERSION %IRSSI); -$VERSION = "1.5"; -my ($REV) = '$Rev: 318 $' =~ /(\d+)/; +$VERSION = "1.5.2"; +my ($REV) = '$Rev: 326 $' =~ /(\d+)/; %IRSSI = ( authors => 'Dan Boger', contact => 'zigdon@gmail.com', @@ -245,6 +245,7 @@ sub cmd_login { $p = shift @pass; &cmd_login("$u $p"); } + return; } } else { ¬ice("/twitter_login requires either a username and password " @@ -436,6 +437,7 @@ sub get_updates { if ($pid) { # parent Irssi::timeout_add_once( 5000, 'monitor_child', [$filename] ); + Irssi::pidwait_add($pid); } elsif ( defined $pid ) { # child close STDIN; close STDOUT;