aboutsummaryrefslogtreecommitdiff
path: root/databases/msql3/scripts/check_old_version
diff options
context:
space:
mode:
Diffstat (limited to 'databases/msql3/scripts/check_old_version')
-rw-r--r--databases/msql3/scripts/check_old_version2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/msql3/scripts/check_old_version b/databases/msql3/scripts/check_old_version
index 71ddbace8f25..93307e1ffa28 100644
--- a/databases/msql3/scripts/check_old_version
+++ b/databases/msql3/scripts/check_old_version
@@ -7,7 +7,7 @@ if( -d "/var/db/msqldb" ) {
chdir( "/var/db/pkg" );
opendir( DIR, "." );
@oldmsql = grep( /^msql-2.0b[1234]$/, readdir( DIR ) );
- closedir( DIR );
+ closedir;
if( @oldmsql ) {
if( ! $ENV{OVERWRITE_DB} ) {
print <<END;