From 84c336528bc0f449365a9b9d1776cf126c7ffe5b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 5 May 2016 09:18:19 +0100 Subject: [PATCH] Add a back/exit selection --- src/freedombone-sec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/freedombone-sec b/src/freedombone-sec index 725c9a43..145f27a1 100755 --- a/src/freedombone-sec +++ b/src/freedombone-sec @@ -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 }