summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2010-10-16 01:38:22 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2010-10-16 01:38:22 -0700
commit977abfe1ccbeefd3e83f3569dabda7dcd04b1998 (patch)
treed8ddbc4294c19302e7987323322ebd11ea98fa28 /usr
parentf5d259ca30d8c9833002479eb881de415401ddd3 (diff)
downloadpiny-code-977abfe1ccbeefd3e83f3569dabda7dcd04b1998.tar.gz
piny-code-977abfe1ccbeefd3e83f3569dabda7dcd04b1998.zip
Fixing more dumb mistakes.
Diffstat (limited to 'usr')
-rw-r--r--usr/src/libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm
index 54d40ad..0c8de36 100644
--- a/usr/src/libpiny/lib/Piny/Repo.pm
+++ b/usr/src/libpiny/lib/Piny/Repo.pm
@@ -273,7 +273,7 @@ sub destroy {
my $temp = File::Temp->new( ) or die "Could not create temporary file: $!";
$temp->unlink_on_destroy( 0 );
- $dh = IO::Dir->new( "/etc/ikiwiki/wikilist.d" ) or die "Could not open wikilist.d directory: $!";
+ my $dh = IO::Dir->new( "/etc/ikiwiki/wikilist.d" ) or die "Could not open wikilist.d directory: $!";
while ( defined ( my $entry = $dh->read ) ) {
next if ( $entry =~ /^\./ );
open( FILE, "<", "/etc/ikiwiki/wikilist.d/" . $entry ) or die "Could not open wikilist.d entry $entry: $!";