Explorar o código

Forgot to add POLICY_SYSTEM_HIDE_SERVICES

Jaap Marcus %!s(int64=4) %!d(string=hai) anos
pai
achega
335513f744
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      func/syshealth.sh

+ 1 - 1
func/syshealth.sh

@@ -328,7 +328,7 @@ function syshealth_repair_system_config() {
     # Hide system services
     # Hide system services
     if [ -z "$POLICY_SYSTEM_HIDE_SERVICES" ]; then
     if [ -z "$POLICY_SYSTEM_HIDE_SERVICES" ]; then
         echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYSTEM_HIDE_SERVICES ('no')"
         echo "[ ! ] Adding missing variable to hestia.conf: POLICY_SYSTEM_HIDE_SERVICES ('no')"
-        $BIN/v-change-sys-config-value "POLICY_SYSTEM_HIDE_ADMIN" "no"
+        $BIN/v-change-sys-config-value "POLICY_SYSTEM_HIDE_SERVICES" "no"
     fi
     fi
     # Password reset
     # Password reset
     if [ -z "$POLICY_SYSTEM_PASSWORD_RESET" ]; then
     if [ -z "$POLICY_SYSTEM_PASSWORD_RESET" ]; then