close the IN file handler in 'nvidia' graph initialization

This commit is contained in:
Jordi Sanfeliu 2013-08-01 09:42:42 +02:00
parent e1e2aa9979
commit 7e9271ffd6
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ sub nvidia_init {
logger("$myself: unable to execute 'nvidia-smi'. $!");
return;
}
close(IN);
if(!(-e $rrd)) {
logger("Creating '$rrd' file.");