[siesta-commit] siesta/lib/Siesta/Plugin Archive.pm,1.7,1.8

[prev] [thread] [next] [lurker] [Date index for 2003/03/15]

From: clampr
Subject: [siesta-commit] siesta/lib/Siesta/Plugin Archive.pm,1.7,1.8
Date: 21:25 on 15 Mar 2003
Update of /cvsroot/siesta/siesta/lib/Siesta/Plugin
In directory sc8-pr-cvs1:/tmp/cvs-serv5056

Modified Files:
	Archive.pm 
Log Message:
add diagnostics on failure


Index: Archive.pm
===================================================================
RCS file: /cvsroot/siesta/siesta/lib/Siesta/Plugin/Archive.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Archive.pm	15 Mar 2003 20:15:45 -0000	1.7
+++ Archive.pm	15 Mar 2003 21:25:19 -0000	1.8
@@ -19,6 +19,7 @@
     eval {
         mkpath( [ map { "$path/$_" } qw( cur new tmp ) ], 0, 0777 );
     };
+    die "Archive: couldn't create maildir: $@\nRunning as $>" if $@;
     my $now = time;
     $sequence++;
     my $file    = "$now.$$.$sequence";



Generated at 13:57 on 01 Jul 2004 by mariachi 0.52