From df1de557030e83613a2db05f2d3d7b7812819d94 Mon Sep 17 00:00:00 2001 From: steve Date: Tue, 20 Oct 1998 01:28:34 +0000 Subject: closedir takes one argument. --- databases/msql/scripts/check_old_version | 4 ++-- databases/msql3/scripts/check_old_version | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'databases') diff --git a/databases/msql/scripts/check_old_version b/databases/msql/scripts/check_old_version index 93307e1ffa28..72c594023f72 100644 --- a/databases/msql/scripts/check_old_version +++ b/databases/msql/scripts/check_old_version @@ -1,13 +1,13 @@ #!/usr/bin/perl # -# $Id: check_old_version,v 1.1 1997/07/14 12:43:38 jfitz Exp $ +# $Id: check_old_version,v 1.3 1998/02/13 10:54:49 tg Exp $ # if( -d "/var/db/msqldb" ) { chdir( "/var/db/pkg" ); opendir( DIR, "." ); @oldmsql = grep( /^msql-2.0b[1234]$/, readdir( DIR ) ); - closedir; + closedir( DIR ); if( @oldmsql ) { if( ! $ENV{OVERWRITE_DB} ) { print <