From 39a624a19adf871b60d86f473ca5766138811434 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 May 2018 11:14:20 +0100 Subject: [PATCH] Don't need to save if nothing happens --- src/freedombone-ddns | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-ddns b/src/freedombone-ddns index 36269ad0..e10f1b63 100755 --- a/src/freedombone-ddns +++ b/src/freedombone-ddns @@ -182,11 +182,11 @@ function choose_dynamic_dns { --yesno $"\\nConfigure a dynamic DNS service?\\n\\nIf it is already handled by your internet router then select 'no'." 10 50 sel=$? case $sel in - 0) dynamic_dns_setup;; + 0) dynamic_dns_setup + ;; 255) exit 1;; esac fi - save_configuration_values } if [ ! "$CONFIGURATION_FILE" ]; then