Don't need to save if nothing happens

This commit is contained in:
Bob Mottram 2018-05-12 11:14:20 +01:00
parent 97b25053bf
commit 39a624a19a
1 changed files with 2 additions and 2 deletions

View File

@ -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 --yesno $"\\nConfigure a dynamic DNS service?\\n\\nIf it is already handled by your internet router then select 'no'." 10 50
sel=$? sel=$?
case $sel in case $sel in
0) dynamic_dns_setup;; 0) dynamic_dns_setup
;;
255) exit 1;; 255) exit 1;;
esac esac
fi fi
save_configuration_values
} }
if [ ! "$CONFIGURATION_FILE" ]; then if [ ! "$CONFIGURATION_FILE" ]; then