/[pdpsoft]/nl.nikhef.pdp.fetchcrl/trunk/CRLWriter.pm
ViewVC logotype

Diff of /nl.nikhef.pdp.fetchcrl/trunk/CRLWriter.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2652 by davidg, Tue Jul 2 19:16:38 2013 UTC revision 2672 by davidg, Tue Sep 17 09:44:40 2013 UTC
# Line 123  sub updatefile($$%) { Line 123  sub updatefile($$%) {
123    };    };
124    
125    if ( open FH,'>',$file ) {    if ( open FH,'>',$file ) {
126        if ($content !~ /\n$/sm) {
127          $content="$content\n";
128        }
129      print FH $content or      print FH $content or
130        $::log->err("Write to $file: $!") and return undef;        $::log->err("Write to $file: $!") and return undef;
131      close FH or      close FH or

Legend:
Removed from v.2652  
changed lines
  Added in v.2672

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28