Browse Source

Minor fix

dennisro 6 years ago
parent
commit
37f9265b31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/include/functions/menu_functions.sh

+ 1 - 1
data/include/functions/menu_functions.sh

@@ -767,7 +767,7 @@ add_ssl_menuentry() {
 }
 
 static_menu() {
-	[[ -z ${STATIC_SITES[0]} ]] \
+	! [[ ${STATIC_SITES[@]} ]] \
 		&& echo -e "\n\e[1mNo existing sites found\e[0m" \
 		&& exec "${SERVICES_DIR}"/${SERVICE_NAME}/${SERVICE_NAME}.sh