Преглед изворни кода

Add updatessl to restart options

Jaap Marcus пре 3 година
родитељ
комит
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
 }