diff --git a/Changes b/Changes index 600333424..bb1308b54 100644 --- a/Changes +++ b/Changes @@ -21,6 +21,9 @@ ssl-server-plugin: * Fix: Support closing forked SSL connections without shutdown SSL to support Proxy server plugin * Bump version to 1.1 +injector: +* Fix shortly named directory are skipped + contrib: * Fix #73: Fix ADMX/ADML for agent configuration via GPO diff --git a/bin/glpi-injector b/bin/glpi-injector index b2eeb155a..e2bd5d4a9 100755 --- a/bin/glpi-injector +++ b/bin/glpi-injector @@ -104,7 +104,7 @@ sub loaddirectory { opendir (my $handle, $directory) or die "can't open directory $directory: $ERRNO\n"; foreach my $file (sort readdir($handle)) { - next if $file =~ /^..?$/ ; + next if $file =~ /^\.\.?$/ ; if (-d "$directory/$file") { loaddirectory("$directory/$file") if ($options->{recursive}); } else {