Print the used upsc call.

This commit is contained in:
Andreas Bachlechner 2022-02-24 16:24:16 +01:00
parent 780e067604
commit 284cae9fdc
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ sub nut_update {
}
if(!$data) {
logger("$myself: unable to execute 'upsc $ups' command or invalid connection.");
logger("$myself: unable to execute '$upsc_cmd' command or invalid connection.");
$rrdata .= ":$ltran:$htran:$ivolt:$ovolt:$bchar:$loadc:$mbatc:$nxfer:$atemp:$itemp:$humid:$battv:$nomba:$timel:$minti:$linef:0:0:0:0:0";
next;
}