[vhffs-dev] [1409] come on mamy, let's go mamy |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1409
Author: gradator
Date: 2009-05-26 13:30:27 +0200 (Tue, 26 May 2009)
Log Message:
-----------
come on mamy, let's go mamy
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Functions.pm
Modified: trunk/vhffs-api/src/Vhffs/Functions.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Functions.pm 2009-05-26 11:20:35 UTC (rev 1408)
+++ trunk/vhffs-api/src/Vhffs/Functions.pm 2009-05-26 11:30:27 UTC (rev 1409)
@@ -206,10 +206,8 @@
my $file;
while( $file = shift @files ) {
- if( -f $file ) {
- chmod( $fmod, $file );
- } elsif( -d $file ) {
- chmod( $dmod, $file );
+ chmod( $fmod, $file );
+ if( -d $file ) {
opendir DIRECTORY, $file;
my @content = readdir( DIRECTORY );
closedir( DIRECTORY );