Explorar o código

Add updatessl to restart options

Jaap Marcus %!s(int64=3) %!d(string=hai) anos
pai
achega
129901fa34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      func/main.sh

+ 1 - 1
func/main.sh

@@ -1376,7 +1376,7 @@ format_aliases() {
 }
 
 is_restart_format_valid() {
-  if [ "$1" != 'yes' ] && [ "$1" != 'no' ] && [ "$1" != 'ssl' ] && [ "$1" != 'reload' ];  then
+  if [ "$1" != 'yes' ] && [ "$1" != 'no' ] && [ "$1" != 'ssl' ] && [ "$1" != 'reload' ]  && [ "$1" != 'updatessl' ];  then
   check_result "$E_INVALID" "invalid $2 format :: $1"
   fi
 }