Просмотр исходного кода

Add updatessl to restart options

Jaap Marcus 3 лет назад
Родитель
Сommit
129901fa34
1 измененных файлов с 1 добавлено и 1 удалено
  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
 }