Delete unnecessary double quotes

Also minor style cleanups.
This commit is contained in:
Richard Hansen 2020-06-11 12:55:14 -04:00
parent e6d1d73a4a
commit 593ed1b7a0

View file

@ -2474,8 +2474,7 @@ sub nic_updateable {
);
$update = 1;
} elsif ((!exists($cache{$host}{'ip'})) ||
("$cache{$host}{'ip'}" ne "$ip")) {
} elsif (!exists($cache{$host}{'ip'}) || $cache{$host}{'ip'} ne $ip) {
if (($cache{$host}{'status'} eq 'good') &&
!interval_expired($host, 'mtime', 'min-interval')) {