From 78088bde52810a318d31fb0ece8b621dbc7ce447 Mon Sep 17 00:00:00 2001 From: Dan Boger Date: Wed, 13 May 2009 15:34:50 -0700 Subject: [PATCH 1/1] r636 - Warn when we can't fork --- twirssi.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/twirssi.pl b/twirssi.pl index c5a46d2..4ba6417 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -11,7 +11,7 @@ $Data::Dumper::Indent = 1; use vars qw($VERSION %IRSSI); $VERSION = "2.2.3beta"; -my ($REV) = '$Rev: 619 $' =~ /(\d+)/; +my ($REV) = '$Rev: 636 $' =~ /(\d+)/; %IRSSI = ( authors => 'Dan Boger', contact => 'zigdon@gmail.com', @@ -20,7 +20,7 @@ my ($REV) = '$Rev: 619 $' =~ /(\d+)/; . 'Can optionally set your bitlbee /away message to same', license => 'GNU GPL v2', url => 'http://twirssi.com', - changed => '$Date: 2009-04-25 11:08:58 -0700 (Sat, 25 Apr 2009) $', + changed => '$Date: 2009-05-13 15:34:34 -0700 (Wed, 13 May 2009) $', ); my $window; @@ -801,6 +801,8 @@ sub get_updates { } close $fh; exit; + } else { + &ccrap("Failed to fork for updating: $!"); } print scalar localtime, " - get_updates ends" if &debug; } -- 2.39.5