From 29e86d9a9155a7a8cb9cef286a32c28fa492627d Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 25 Jun 2024 22:10:30 -0400 Subject: [PATCH] infomaniak: Rename variable for readability --- ddclient.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ddclient.in b/ddclient.in index a8ec647..8fc38a7 100755 --- a/ddclient.in +++ b/ddclient.in @@ -8020,9 +8020,9 @@ sub nic_infomaniak_update { next; } my ($status) = split / /, $reply, 1; - my ($updated, $msg) = + my ($ok, $msg) = $statuses{$status} // (0, sprintf("Unknown reply from Infomaniak: %s", $reply)); - if ($updated) { + if ($ok) { success($msg); $config{$h}{"ipv$v"} = $ip; $config{$h}{'mtime'} = $now;