From: Frank Brehm Date: Thu, 20 Oct 2005 07:38:41 +0000 (+0000) Subject: Bufixing X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=2f3c27e99271527493106150dd04a23477f47553;p=scripts%2Fsolaris.git Bufixing --- diff --git a/smsd.pl b/smsd.pl index b852bcc..0746c21 100755 --- a/smsd.pl +++ b/smsd.pl @@ -820,6 +820,7 @@ sub perform_send( $ ) { print GAMMU $sms->body(); close( GAMMU ) || error "kid exited $?"; }; + alarm 0; if ( $@ ) { @@ -838,6 +839,7 @@ sub perform_send( $ ) { } } + alarm 0; } else { # child