From 8b58f7bd99664034c14d7ed27bb83af044309650 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 23 Jul 2024 00:27:52 -0400 Subject: [PATCH] dondominio: Don't bother setting `status` on error 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 655b0fa..3a35034 100755 --- a/ddclient.in +++ b/ddclient.in @@ -6538,7 +6538,6 @@ sub nic_dondominio_update { $config{$h}{'status'} = 'good'; success("$h: IP address set to $ip"); } else { - $config{$h}{'status'} = 'failed'; failed("$h: Server said: $returned"); } }