diff options
author | Steve Price <steve@FreeBSD.org> | 1998-01-11 17:59:01 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-01-11 17:59:01 +0000 |
commit | 33931bd10c720892b1c4582c8cebf97f3f2df86e (patch) | |
tree | 0343bcdd6de190e2eaf53f4b2418e36b8155041a /databases/msql3 | |
parent | Remove nonexistent directory from SUBDIR list. (diff) |
closedir(...) requires a DIR argument.
PR: 5177
Submitted by: Yen-Shuo Su <yssu@CCCA.NCTU.edu.tw>
Notes
Notes:
svn path=/head/; revision=9323
Diffstat (limited to 'databases/msql3')
-rw-r--r-- | databases/msql3/scripts/check_old_version | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/msql3/scripts/check_old_version b/databases/msql3/scripts/check_old_version index ea046b99543f..71ddbace8f25 100644 --- a/databases/msql3/scripts/check_old_version +++ b/databases/msql3/scripts/check_old_version @@ -1,13 +1,13 @@ #!/usr/bin/perl # -# $Id$ +# $Id: check_old_version,v 1.1 1997/07/14 12:43:38 jfitz 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 <<END; |