mirror of https://github.com/mikaku/Monitorix.git
close the IN file handler in 'nvidia' graph initialization
This commit is contained in:
parent
e1e2aa9979
commit
7e9271ffd6
|
@ -37,6 +37,7 @@ sub nvidia_init {
|
|||
logger("$myself: unable to execute 'nvidia-smi'. $!");
|
||||
return;
|
||||
}
|
||||
close(IN);
|
||||
|
||||
if(!(-e $rrd)) {
|
||||
logger("Creating '$rrd' file.");
|
||||
|
|
Loading…
Reference in New Issue