diff --git a/.vscode/launch.json b/.vscode/launch.json index 04a4acf..37ba7e3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,7 +20,7 @@ "args": [ "--client", "--yaml", - "/home/velvettear/development/golang/godyn/client-config copy.yml" + "/home/velvettear/public/godyn-client.yml" ], }, ] diff --git a/client/client.go b/client/client.go index 1094008..98e66bb 100644 --- a/client/client.go +++ b/client/client.go @@ -163,6 +163,7 @@ func updateDyndns() { } else if strings.Contains(body, "nochg") { msg = "dyndns was not updated because remote/wan ip did not change" log.WarningTimed(msg, timestamp, "response: '"+body+"'") + notification.Emoji = "yellow_circle" } else { msg = "dyndns was updated successfully" log.InfoTimed(msg, timestamp, "response: '"+strings.TrimSpace(string(bytes))+"'")