Changeset 1592

Show
Ignore:
Timestamp:
01/18/05 18:55:45 (4 years ago)
Author:
whmoseley
Message:

Reset alarm() after eval block like it should. Was causing problems
for one use when running the spider as a daemon with no controlling terminal.
Didn't happen under cron, for some reason.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swish-e/prog-bin/spider.pl.in

    r1585 r1592  
    1 #!@@perlbinary@@ -w 
     1#!@@perlbinary@@ - 
    22use strict; 
    33 
     
    479479        print STDERR "\n";  # because we disabled echo 
    480480        chomp($password); 
    481  
    482481        alarm( 0 ) unless $^O =~ /Win32/i; 
    483482    }; 
     483 
     484    alarm( 0 ) unless $^O =~ /Win32/i; 
    484485 
    485486    return if $@;