Pārlūkot izejas kodu

Add a back/exit selection

Bob Mottram 9 gadus atpakaļ
vecāks
revīzija
84c336528b
Revīzijas autora e-pasts nav piesaistīts nevienam kontam
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. 5
    1
      src/freedombone-sec

+ 5
- 1
src/freedombone-sec Parādīt failu

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