From 9343ebec890b96277ca5abf25d4e1ce06d5d1a4e Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sun, 21 Jul 2024 22:57:01 -0400 Subject: [PATCH] freemyip: Don't bother setting `status` on error It's not necessary because it's already initialized to a non-success value. --- ddclient.in | 1 - 1 file changed, 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 21d1ea5..d9d18d8 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6432,7 +6432,6 @@ sub nic_freemyip_update { $config{$h}{'status'} = 'good'; success("$h: good: IP address set to $ip"); } else { - $config{$h}{'status'} = 'failed'; failed("$h: Server said: $returned"); } }