close file handle after writing

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16684 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2013-06-19 07:32:34 +00:00
parent 645c602ce2
commit 78af39e06f

View File

@ -1422,11 +1422,11 @@ BEGIN {
}
EOMS
chmod(0755,"/tmp/xcatinitrd.$$/init");
chmod(0755,"/tmp/xcatinitrd.$$/bin/netstart");
chmod(0755,"/tmp/xcatinitrd.$$/tmp/updateflag");
close($inifile);
chmod(0755,"/tmp/xcatinitrd.$$/init");
chmod(0755,"/tmp/xcatinitrd.$$/bin/netstart");
chmod(0755,"/tmp/xcatinitrd.$$/tmp/updateflag");
@filestoadd=();
foreach (@ndrivers) {