diff options
Diffstat (limited to 'usr/src/libpiny/lib/Piny/Repo.pm')
-rw-r--r-- | usr/src/libpiny/lib/Piny/Repo.pm | 2 |
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 586a750..4e99734 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -325,7 +325,7 @@ sub create { $dh = IO::Dir->new( "/etc/cgitrc.d" ) or die "Could not open cgitrc.d directory: $!"; while ( defined ( my $entry = $dh->read ) ) { - next if ( $entry =! /^\./ ); + next if ( $entry =~ /^\./ ); open( FILE, "<", "/etc/cgitrc.d/" . $entry ) or die "Could not open cgitrc.d entry $entry: $!"; print $temp <FILE>; close( FILE ) or die "Could not close cgitrc.d entry $entry: $!"; |