From: Frank Karlitschek Date: Sat, 23 Jun 2012 14:21:47 +0000 (+0200) Subject: close only if exist X-Git-Tag: v4.5.0beta1~74^2~404^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c1c1ba88c7eb7a4c40fc14bc1cc92287ad1c8da;p=nextcloud-server.git close only if exist --- diff --git a/lib/installer.php b/lib/installer.php index b650f3eed0d..00feb6d4709 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -302,8 +302,8 @@ class OC_Installer{ } } } + closedir( $dir ); } - closedir( $dir ); } }