Jaap Marcus 2 лет назад
Родитель
Сommit
55fe5d189b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      func/syshealth.sh

+ 2 - 2
func/syshealth.sh

@@ -514,12 +514,12 @@ function syshealth_repair_system_config() {
 
 
 	if [[ -z $(check_key_exists 'POLICY_SYNC_ERROR_DOCUMENTS') ]]; then
 	if [[ -z $(check_key_exists 'POLICY_SYNC_ERROR_DOCUMENTS') ]]; then
 		echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYNC_ERROR_DOCUMENTS ('yes')"
 		echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYNC_ERROR_DOCUMENTS ('yes')"
-		$BIN/v-change-sys-config-value "HIDE_DOCS" "no"
+		$BIN/v-change-sys-config-value "POLICY_SYNC_ERROR_DOCUMENTS" "no"
 	fi
 	fi
 
 
 	if [[ -z $(check_key_exists 'POLICY_SYNC_SKELETON') ]]; then
 	if [[ -z $(check_key_exists 'POLICY_SYNC_SKELETON') ]]; then
 		echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYNC_SKELETON ('yes')"
 		echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYNC_SKELETON ('yes')"
-		$BIN/v-change-sys-config-value "HIDE_DOCS" "no"
+		$BIN/v-change-sys-config-value "POLICY_SYNC_SKELETON" "no"
 	fi
 	fi
 
 
 	touch $HESTIA/conf/hestia.conf.new
 	touch $HESTIA/conf/hestia.conf.new