From 350b74d30fb2588c3832bff7e49709a2f81ea9d1 Mon Sep 17 00:00:00 2001 From: JMCC <34961948+teacupx@users.noreply.github.com> Date: Sun, 16 Jan 2022 21:42:01 +0100 Subject: [PATCH] Update ddclient.in Cleaner syntax Co-authored-by: Sandro --- ddclient.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ddclient.in b/ddclient.in index ed16409..b5db60d 100755 --- a/ddclient.in +++ b/ddclient.in @@ -5868,9 +5868,7 @@ sub nic_keysystems_update { $config{$h}{'mtime'} = $now; $config{$h}{'status'} = 'good'; success("updating %s: good: IP address set to %s", $h, $ip); - } - else - { + } else { $config{$h}{'status'} = 'failed'; failed("updating %s: Server said: '$reply'", $h); }