Skip to content

Commit 55fe5d1

Browse files
committed
Fix bug in syshealth script
1 parent 97e4cbc commit 55fe5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

func/syshealth.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,12 +514,12 @@ function syshealth_repair_system_config() {
514514

515515
if [[ -z $(check_key_exists 'POLICY_SYNC_ERROR_DOCUMENTS') ]]; then
516516
echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYNC_ERROR_DOCUMENTS ('yes')"
517-
$BIN/v-change-sys-config-value "HIDE_DOCS" "no"
517+
$BIN/v-change-sys-config-value "POLICY_SYNC_ERROR_DOCUMENTS" "no"
518518
fi
519519

520520
if [[ -z $(check_key_exists 'POLICY_SYNC_SKELETON') ]]; then
521521
echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYNC_SKELETON ('yes')"
522-
$BIN/v-change-sys-config-value "HIDE_DOCS" "no"
522+
$BIN/v-change-sys-config-value "POLICY_SYNC_SKELETON" "no"
523523
fi
524524

525525
touch $HESTIA/conf/hestia.conf.new

0 commit comments

Comments
 (0)