Add a back/exit selection

This commit is contained in:
Bob Mottram 2016-05-05 09:18:19 +01:00
parent 0d01ff9edf
commit 84c336528b
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 5 additions and 1 deletions

View File

@ -710,7 +710,8 @@ function housekeeping {
5 "Create a new Let's Encrypt certificate" off
6 "Renew Let's Encrypt certificate" off
7 "Enable GPG based authentication (monkeysphere)" off
8 "Register a website with monkeysphere" off)
8 "Register a website with monkeysphere" off
9 "Go Back/Exit" on)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear
for choice in $choices
@ -740,6 +741,9 @@ function housekeeping {
8)
register_website
;;
9)
exit 0
;;
esac
done
}